summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/id/id.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/id/id.c b/usr.bin/id/id.c
index d1462f9..0cb0d1f 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 <sys/param.h>
@@ -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);
OpenPOWER on IntegriCloud