aboutsummaryrefslogtreecommitdiff
path: root/id.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-16 14:21:09 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-16 14:21:09 +0000
commitbbb602f480533eb3bdc18187065b3b5616482f4a (patch)
treefab28cbdabe79bb98e1cdc99f1fa2b6da599f709 /id.c
parent716d34b7be144daf1fbafbe9044caa3c59649ea7 (diff)
downloadbusybox-w32-bbb602f480533eb3bdc18187065b3b5616482f4a.tar.gz
busybox-w32-bbb602f480533eb3bdc18187065b3b5616482f4a.tar.bz2
busybox-w32-bbb602f480533eb3bdc18187065b3b5616482f4a.zip
Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c
by Larry Doolittle. git-svn-id: svn://busybox.net/trunk/busybox@2653 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'id.c')
-rw-r--r--id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/id.c b/id.c
index 3f90d55f6..85b288c0c 100644
--- a/id.c
+++ b/id.c
@@ -79,12 +79,12 @@ extern int id_main(int argc, char **argv)
79 79
80 if (no_group) { 80 if (no_group) {
81 if(name_not_number && user) 81 if(name_not_number && user)
82 printf("%s\n",user); 82 puts(user);
83 else 83 else
84 printf("%ld\n", pwnam); 84 printf("%ld\n", pwnam);
85 } else if (no_user) { 85 } else if (no_user) {
86 if(name_not_number && group) 86 if(name_not_number && group)
87 printf("%s\n", group); 87 puts(group);
88 else 88 else
89 printf("%ld\n", grnam); 89 printf("%ld\n", grnam);
90 } else { 90 } else {