diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-11-04 20:15:32 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-11-04 20:15:32 +0000 |
commit | 87f4d3913553e12422909c97d7e7e8e0b1ad4328 (patch) | |
tree | 0a2a06345b5f25b1efe9eaf3e370ab6926c43732 /sys/stand | |
parent | 4d5e5b1b86d4ba76790e0a19c3af39b2e884b37e (diff) |
Get GID bit correct in ls.
Diffstat (limited to 'sys/stand')
-rw-r--r-- | sys/stand/boot/cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c index 087ef07445c..007ff71dea6 100644 --- a/sys/stand/boot/cmd.c +++ b/sys/stand/boot/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.34 1997/10/07 07:59:57 mickey Exp $ */ +/* $OpenBSD: cmd.c,v 1.35 1997/11/04 20:15:31 weingart Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -522,7 +522,7 @@ ls(name, sb) { putchar("-fc-d-b---l-s-w-"[(sb->st_mode & S_IFMT) >> 12]); lsrwx(sb->st_mode >> 6, (sb->st_mode & S_ISUID? "sS" : "x-")); - lsrwx(sb->st_mode >> 3, (sb->st_mode & S_ISUID? "sS" : "x-")); + lsrwx(sb->st_mode >> 3, (sb->st_mode & S_ISGID? "sS" : "x-")); lsrwx(sb->st_mode , (sb->st_mode & S_ISTXT? "tT" : "x-")); printf (" %u,%u\t%lu\t%s\n", sb->st_uid, sb->st_gid, |