diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-03-19 09:13:01 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-03-19 09:13:01 +0000 |
commit | cad5364599eb5062d59e0c397ed638ddd61a8d5d (patch) | |
tree | a318d0f03aa076c74b576ea45dc543a5669e8e91 /miscutils/update.c | |
parent | e01f9662a5bd5d91be4f6b3941b57fff73cd5af1 (diff) | |
download | busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.gz busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.bz2 busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.zip |
Major coreutils update.
Diffstat (limited to 'miscutils/update.c')
-rw-r--r-- | miscutils/update.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/update.c b/miscutils/update.c index 27a04ddee..48ea02deb 100644 --- a/miscutils/update.c +++ b/miscutils/update.c | |||
@@ -62,12 +62,12 @@ extern int update_main(int argc, char **argv) | |||
62 | flush_duration = atoi(optarg); | 62 | flush_duration = atoi(optarg); |
63 | break; | 63 | break; |
64 | default: | 64 | default: |
65 | show_usage(); | 65 | bb_show_usage(); |
66 | } | 66 | } |
67 | } | 67 | } |
68 | 68 | ||
69 | if (daemon(0, 1) < 0) | 69 | if (daemon(0, 1) < 0) |
70 | perror_msg_and_die("daemon"); | 70 | bb_perror_msg_and_die("daemon"); |
71 | 71 | ||
72 | #ifdef OPEN_MAX | 72 | #ifdef OPEN_MAX |
73 | for (pid = 0; pid < OPEN_MAX; pid++) close(pid); | 73 | for (pid = 0; pid < OPEN_MAX; pid++) close(pid); |