diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:21:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:21:47 +0000 |
commit | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (patch) | |
tree | 79166b700c497fbe798b6031e5bbff97e0933573 /coreutils/uname.c | |
parent | 670a6626cabc1498f32b35f959591f8621d8447e (diff) | |
download | busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.gz busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.bz2 busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.zip |
remove bb_printf and the like
Diffstat (limited to 'coreutils/uname.c')
-rw-r--r-- | coreutils/uname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c index 575fb525c..5a3eafe92 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c | |||
@@ -91,10 +91,10 @@ int uname_main(int argc, char **argv) | |||
91 | 91 | ||
92 | strcpy(uname_info.processor, "unknown"); | 92 | strcpy(uname_info.processor, "unknown"); |
93 | 93 | ||
94 | delta=utsname_offset; | 94 | delta = utsname_offset; |
95 | do { | 95 | do { |
96 | if (toprint & 1) { | 96 | if (toprint & 1) { |
97 | bb_printf(((char *)(&uname_info)) + *delta); | 97 | printf(((char *)(&uname_info)) + *delta); |
98 | if (toprint > 1) { | 98 | if (toprint > 1) { |
99 | putchar(' '); | 99 | putchar(' '); |
100 | } | 100 | } |
@@ -103,5 +103,5 @@ int uname_main(int argc, char **argv) | |||
103 | } while (toprint >>= 1); | 103 | } while (toprint >>= 1); |
104 | putchar('\n'); | 104 | putchar('\n'); |
105 | 105 | ||
106 | bb_fflush_stdout_and_exit(EXIT_SUCCESS); | 106 | fflush_stdout_and_exit(EXIT_SUCCESS); |
107 | } | 107 | } |