summaryrefslogtreecommitdiff
path: root/id.c
diff options
context:
space:
mode:
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 3f90d55..85b288c 100644
--- a/id.c
+++ b/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 {