diff options
author | mjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-03-19 09:13:01 +0000 |
---|---|---|
committer | mjn3 <mjn3@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-03-19 09:13:01 +0000 |
commit | e901c15d890dbbdce4c086963cb1513653fc46b5 (patch) | |
tree | a318d0f03aa076c74b576ea45dc543a5669e8e91 /miscutils/update.c | |
parent | 40758c00616c3b2c85d83eb4afdeb04b1f65c9f1 (diff) | |
download | busybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.tar.gz busybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.tar.bz2 busybox-w32-e901c15d890dbbdce4c086963cb1513653fc46b5.zip |
Major coreutils update.
git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
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); |