summaryrefslogtreecommitdiff
path: root/coreutils/id.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/id.c')
-rw-r--r--coreutils/id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/id.c b/coreutils/id.c
index 3f90d55..85b288c 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -79,12 +79,12 @@ extern int id_main(int argc, char **argv)
if (no_group) {
if(name_not_number && user)
- printf("%s\n",user);
+ puts(user);
else
printf("%ld\n", pwnam);
} else if (no_user) {
if(name_not_number && group)
- printf("%s\n", group);
+ puts(group);
else
printf("%ld\n", grnam);
} else {