From a81b76b3e872a8997ebd6c412266d6e003e3817b Mon Sep 17 00:00:00 2001 From: Steve Price Date: Wed, 18 Feb 1998 17:35:16 +0000 Subject: [PATCH] Missing newline when euid != ruid. PR: 5778 Submitted by: Martin Kammerhofer --- usr.bin/id/id.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/id/id.c b/usr.bin/id/id.c index d1462f9b62ab..0cb0d1f24f1a 100644 --- a/usr.bin/id/id.c +++ b/usr.bin/id/id.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)id.c 8.2 (Berkeley) 2/16/94"; #endif static const char rcsid[] = - "$Id$"; + "$Id: id.c,v 1.5 1997/07/15 09:48:49 charnier Exp $"; #endif /* not lint */ #include @@ -174,9 +174,9 @@ pretty(pw) if ((eid = geteuid()) != rid) if ((pw = getpwuid(eid))) - (void)printf("euid\t%s", pw->pw_name); + (void)printf("euid\t%s\n", pw->pw_name); else - (void)printf("euid\t%u", eid); + (void)printf("euid\t%u\n", eid); if ((rid = getgid()) != (eid = getegid())) if ((gr = getgrgid(rid))) (void)printf("rgid\t%s\n", gr->gr_name);