summaryrefslogtreecommitdiff
path: root/sysutils/stat
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-29 08:15:06 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-29 08:15:06 +0000
commit600a7f6f8b142b4ad77eb24d7accca89c0dde3fe (patch)
tree720614879b98a753a3c4ba525489a1623d7459fe /sysutils/stat
parentUpdate to version 3.5. (diff)
Terminate buffer so we don't print garbage.
PR: 12761 Submitted by: Aaron Smith <arron@mutex.org>
Notes
Notes: svn path=/head/; revision=24236
Diffstat (limited to 'sysutils/stat')
-rw-r--r--sysutils/stat/files/patch-aa6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/stat/files/patch-aa b/sysutils/stat/files/patch-aa
new file mode 100644
index 000000000000..9d00b5b326a5
--- /dev/null
+++ b/sysutils/stat/files/patch-aa
@@ -0,0 +1,6 @@
+--- 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 @@
+ }
++ *bufp++ = '\0';
+ }