summaryrefslogtreecommitdiffstats
path: root/lib/libstand/open.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-09-26 10:48:50 +0000
committerdfr <dfr@FreeBSD.org>1998-09-26 10:48:50 +0000
commit236ad5eb3ca90664e90a383de91faa975d35b8fc (patch)
tree989ae7fd62fa828548abf140a14e99223404b32b /lib/libstand/open.c
parent3833ff5964a8f10b3b3cf9cf15c3c52481429c9a (diff)
downloadFreeBSD-src-236ad5eb3ca90664e90a383de91faa975d35b8fc.zip
FreeBSD-src-236ad5eb3ca90664e90a383de91faa975d35b8fc.tar.gz
* Enable old UFS compatibility code for booting from Digital Unix formatted
disks. * Fix a whole raft of warnings, printf and otherwise. * Make zalloc work for alpha (just a case of using the right typedef). * Add some (disabled) malloc debug printing to stand.h.
Diffstat (limited to 'lib/libstand/open.c')
-rw-r--r--lib/libstand/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/open.c b/lib/libstand/open.c
index a3df60a..3a9127c 100644
--- a/lib/libstand/open.c
+++ b/lib/libstand/open.c
@@ -85,7 +85,7 @@ open(const char *fname, int mode)
{
struct open_file *f;
int fd, i, error, besterror;
- char *file;
+ const char *file;
if ((fd = o_gethandle()) == -1) {
errno = EMFILE;
OpenPOWER on IntegriCloud