From 236ad5eb3ca90664e90a383de91faa975d35b8fc Mon Sep 17 00:00:00 2001 From: dfr Date: Sat, 26 Sep 1998 10:48:50 +0000 Subject: * 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. --- lib/libstand/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libstand/open.c') 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; -- cgit v1.1