aboutsummaryrefslogtreecommitdiff
path: root/miscutils/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/update.c')
-rw-r--r--miscutils/update.c4
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);