aboutsummaryrefslogtreecommitdiff
path: root/miscutils/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/update.c')
-rw-r--r--miscutils/update.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/miscutils/update.c b/miscutils/update.c
index f3b7fc0c8..3a8cd37ee 100644
--- a/miscutils/update.c
+++ b/miscutils/update.c
@@ -1,10 +1,6 @@
1#include "internal.h" 1#include "internal.h"
2#include <linux/unistd.h> 2#include <linux/unistd.h>
3 3
4const char update_usage[] = "update\n"
5"\n"
6"\tFlush buffered data to the disk devices every 30 seconds.\n";
7
8#if defined(__GLIBC__) 4#if defined(__GLIBC__)
9#include <sys/kdaemon.h> 5#include <sys/kdaemon.h>
10#else 6#else
@@ -12,7 +8,7 @@ _syscall2(int, bdflush, int, func, int, data);
12#endif /* __GLIBC__ */ 8#endif /* __GLIBC__ */
13 9
14extern int 10extern int
15update_main(struct FileInfo * i, int argc, char * * argv) 11update_main(int argc, char** argv)
16{ 12{
17 /* 13 /*
18 * Update is actually two daemons, bdflush and update. 14 * Update is actually two daemons, bdflush and update.