diff options
author | cy <cy@FreeBSD.org> | 2003-01-05 20:46:44 +0000 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2003-01-05 20:46:44 +0000 |
commit | e959730dbfc641c7982719394aac14455b96b228 (patch) | |
tree | 7994d16a230511e5d7c2eaa98c31d805f94716ea /sysutils | |
parent | 60471592de6249bf2e3c0eb118a989b7ab433af4 (diff) | |
download | FreeBSD-ports-e959730dbfc641c7982719394aac14455b96b228.zip FreeBSD-ports-e959730dbfc641c7982719394aac14455b96b228.tar.gz |
Fix device node formatting.
PR: 13823
Submitted by: cy
Approved by: wosch (MAINTAINER)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/stat/files/patch-aa | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/stat/files/patch-aa b/sysutils/stat/files/patch-aa index 9d00b5b..9362d2a 100644 --- a/sysutils/stat/files/patch-aa +++ b/sysutils/stat/files/patch-aa @@ -1,3 +1,14 @@ +--- stat.fmt.c.orig Sun Feb 16 05:12:33 1997 ++++ stat.fmt.c Sun Sep 19 09:55:50 1999 +@@ -440,7 +440,7 @@ + break; + + case 'd': /* The Device */ +- sprintf(auxbuf, "%ld", ip -> st_dev); ++ sprintf(auxbuf, "%2d,%-2d", major(ip -> st_dev), minor(ip -> st_dev)); + bufp = fmt_app(auxbuf, bufp); + break; + --- stat.fmt.c.orig Tue Dec 28 12:14:24 1999 +++ stat.fmt.c Tue Dec 28 12:15:20 1999 @@ -502,2 +502,3 @@ |