[BusyBox-cvs] svn commit: trunk/busybox/coreutils
vapier at busybox.net
vapier at busybox.net
Sat Apr 23 01:41:52 UTC 2005
Author: vapier
Date: 2005-04-22 19:41:51 -0600 (Fri, 22 Apr 2005)
New Revision: 10152
Log:
use bb_fflush_stdout_and_exit instead of exit
Modified:
trunk/busybox/coreutils/printenv.c
Changeset:
Modified: trunk/busybox/coreutils/printenv.c
===================================================================
--- trunk/busybox/coreutils/printenv.c 2005-04-22 02:33:37 UTC (rev 10151)
+++ trunk/busybox/coreutils/printenv.c 2005-04-23 01:41:51 UTC (rev 10152)
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include "busybox.h"
int printenv_main(int argc, char **argv)
{
@@ -48,5 +49,5 @@
}
}
- exit(EXIT_SUCCESS);
+ bb_fflush_stdout_and_exit();
}
More information about the busybox-cvs
mailing list