summaryrefslogtreecommitdiff
path: root/usr.bin/file/file.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-12-15 13:30:18 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-12-15 13:30:18 +0000
commit4045bc14d25dad9dc4c5ac3cf63db1a7f5a186a1 (patch)
tree2c5c9785d0ad7108826570ad677810d21461ff7f /usr.bin/file/file.c
parentfd79a3129eb4dcb07f0637d011a3da78406ccd08 (diff)
more writable spelling; torh
Diffstat (limited to 'usr.bin/file/file.c')
-rw-r--r--usr.bin/file/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/file/file.c b/usr.bin/file/file.c
index 7c1bcec6089..ba84ad6a4f3 100644
--- a/usr.bin/file/file.c
+++ b/usr.bin/file/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.9 2002/11/29 00:27:03 millert Exp $ */
+/* $OpenBSD: file.c,v 1.10 2002/12/15 13:30:17 henning Exp $ */
/*
* file - find type of a file or files - main program.
@@ -27,7 +27,7 @@
* 4. This notice may not be removed or altered.
*/
#ifndef lint
-static char *moduleid = "$OpenBSD: file.c,v 1.9 2002/11/29 00:27:03 millert Exp $";
+static char *moduleid = "$OpenBSD: file.c,v 1.10 2002/12/15 13:30:17 henning Exp $";
#endif /* lint */
#include <stdio.h>
@@ -316,7 +316,7 @@ int wid;
if ((fd = open(inname, O_RDONLY)) < 0) {
/* We can't open it, but we were able to stat it. */
- if (sb.st_mode & 0002) ckfputs("writeable, ", stdout);
+ if (sb.st_mode & 0002) ckfputs("writable, ", stdout);
if (sb.st_mode & 0111) ckfputs("executable, ", stdout);
ckfprintf(stdout, "can't read `%s' (%s).\n",
inname, strerror(errno));