Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c

by Larry Doolittle.
This commit is contained in:
Matt Kraai
2001-05-16 14:21:09 +00:00
parent bc604a2f41
commit 59df6f7398
22 changed files with 36 additions and 36 deletions

4
id.c
View File

@@ -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 {