summaryrefslogtreecommitdiffstats
path: root/lib/libstand/nullfs.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-09-18 23:00:57 +0000
committermsmith <msmith@FreeBSD.org>1998-09-18 23:00:57 +0000
commitefee224c310730da8ba656d9fb0e2f53d0c845c4 (patch)
tree1c45ccbb9e99fbf0cc35a69e5e31d00cfdd590eb /lib/libstand/nullfs.c
parent3b7700ffefbf84bddf6433f318b4f2d440ab544d (diff)
downloadFreeBSD-src-efee224c310730da8ba656d9fb0e2f53d0c845c4.zip
FreeBSD-src-efee224c310730da8ba656d9fb0e2f53d0c845c4.tar.gz
Nuke prototype for strerror, consumers get it from <string.h>
Fix overlooked nullopen() implementation.
Diffstat (limited to 'lib/libstand/nullfs.c')
-rw-r--r--lib/libstand/nullfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/nullfs.c b/lib/libstand/nullfs.c
index dff6e15..4a1e6e4 100644
--- a/lib/libstand/nullfs.c
+++ b/lib/libstand/nullfs.c
@@ -69,7 +69,7 @@
/*
* Null filesystem
*/
-int null_open (char *path, struct open_file *f)
+int null_open (const char *path, struct open_file *f)
{
errno = EIO;
return -1;
OpenPOWER on IntegriCloud