diff options
| author | nathanw <nathanw@NetBSD.org> | 1998-08-30 03:20:09 +0000 |
|---|---|---|
| committer | nathanw <nathanw@NetBSD.org> | 1998-08-30 03:20:09 +0000 |
| commit | b757463521050c618bd679b32dd59080ee24b186 (patch) | |
| tree | d0753bc22125410c931f5014d20a21c23cf5f066 /usr.sbin | |
| parent | 71ba20edbb5c5172fecf14976aca40423299d979 (diff) | |
Add braces to satisfy egcs.
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/mtree/create.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/mtree/create.c b/usr.sbin/mtree/create.c index d9819c12bd7..c98d30f5a23 100644 --- a/usr.sbin/mtree/create.c +++ b/usr.sbin/mtree/create.c @@ -1,4 +1,4 @@ -/* $NetBSD: create.c,v 1.15 1998/08/27 18:03:45 ross Exp $ */ +/* $NetBSD: create.c,v 1.16 1998/08/30 03:20:09 nathanw Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)create.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: create.c,v 1.15 1998/08/27 18:03:45 ross Exp $"); +__RCSID("$NetBSD: create.c,v 1.16 1998/08/30 03:20:09 nathanw Exp $"); #endif #endif /* not lint */ @@ -235,11 +235,12 @@ statd(t, parent, puid, pgid, pmode) (void)printf("/set type=file"); if (keys & F_GID) (void)printf(" gid=%u", savegid); - if (keys & F_GNAME) + if (keys & F_GNAME) { if ((gr = getgrgid(savegid)) != NULL) (void)printf(" gname=%s", gr->gr_name); else (void)printf(" gid=%u", savegid); + } if (keys & F_UNAME) { if ((pw = getpwuid(saveuid)) != NULL) (void)printf(" uname=%s", pw->pw_name); |
