aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2003-01-06 04:46:44 +0800
committerCy Schubert <cy@FreeBSD.org>2003-01-06 04:46:44 +0800
commit381e98f90e9b1c33a25b8911d5cc5ded213b2d47 (patch)
treeca459752d021dbe1b43e78070efe01e8b0d8b6ed /sysutils
parent4b15d517deebd1e66353561529bf4f4cbb925b93 (diff)
downloadfreebsd-ports-381e98f90e9b1c33a25b8911d5cc5ded213b2d47.tar.gz
freebsd-ports-381e98f90e9b1c33a25b8911d5cc5ded213b2d47.tar.zst
freebsd-ports-381e98f90e9b1c33a25b8911d5cc5ded213b2d47.zip
Fix device node formatting.
PR: 13823 Submitted by: cy Approved by: wosch (MAINTAINER)
Notes
Notes: svn path=/head/; revision=72602
Diffstat (limited to 'sysutils')
-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 @@