aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/stat
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2003-01-06 04:46:44 +0800
committercy <cy@FreeBSD.org>2003-01-06 04:46:44 +0800
commite959730dbfc641c7982719394aac14455b96b228 (patch)
tree7994d16a230511e5d7c2eaa98c31d805f94716ea /sysutils/stat
parent60471592de6249bf2e3c0eb118a989b7ab433af4 (diff)
downloadfreebsd-ports-gnome-e959730dbfc641c7982719394aac14455b96b228.tar.gz
freebsd-ports-gnome-e959730dbfc641c7982719394aac14455b96b228.tar.zst
freebsd-ports-gnome-e959730dbfc641c7982719394aac14455b96b228.zip
Fix device node formatting.
PR: 13823 Submitted by: cy Approved by: wosch (MAINTAINER)
Diffstat (limited to 'sysutils/stat')
-rw-r--r--sysutils/stat/files/patch-aa11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/stat/files/patch-aa b/sysutils/stat/files/patch-aa
index 9d00b5b326a5..9362d2a13ac3 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 @@