diff options
author | phk <phk@FreeBSD.org> | 1995-03-24 21:33:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-03-24 21:33:20 +0000 |
commit | 6abc04ee9024eade249b1820875666d68160b8af (patch) | |
tree | 6842277b3c30807e5bb70e0c3c1e039f53d8ba89 | |
parent | 406689a5bda598b510a562d87d2725ff6dd263dd (diff) | |
download | FreeBSD-src-6abc04ee9024eade249b1820875666d68160b8af.zip FreeBSD-src-6abc04ee9024eade249b1820875666d68160b8af.tar.gz |
Modes on dirs were decimal by mistake.
Submitted by: joerg
-rw-r--r-- | usr.sbin/ctm/ctm_scan/ctm_scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ctm/ctm_scan/ctm_scan.c b/usr.sbin/ctm/ctm_scan/ctm_scan.c index bd6dd7f..e521dde 100644 --- a/usr.sbin/ctm/ctm_scan/ctm_scan.c +++ b/usr.sbin/ctm/ctm_scan/ctm_scan.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: ctm_scan.c,v 1.7 1994/12/03 22:54:04 phk Exp $ + * $Id: ctm_scan.c,v 1.8 1995/03/19 21:26:00 phk Exp $ * */ #include <stdio.h> @@ -82,7 +82,7 @@ Do(char *path) switch(st.st_mode & S_IFMT) { case S_IFDIR: if(!CheckMode) { - i = printf("d %s %d %lu %lu - - -\n", + i = printf("d %s %o %lu %lu - - -\n", buf,st.st_mode & (~S_IFMT),st.st_uid,st.st_gid); if(!i) exit(-1); |