diff options
author | dfr <dfr@FreeBSD.org> | 1998-09-26 10:48:50 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-09-26 10:48:50 +0000 |
commit | 236ad5eb3ca90664e90a383de91faa975d35b8fc (patch) | |
tree | 989ae7fd62fa828548abf140a14e99223404b32b /lib/libstand/ufs.c | |
parent | 3833ff5964a8f10b3b3cf9cf15c3c52481429c9a (diff) | |
download | FreeBSD-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/ufs.c')
-rw-r--r-- | lib/libstand/ufs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libstand/ufs.c b/lib/libstand/ufs.c index bd7f8c7..8511422 100644 --- a/lib/libstand/ufs.c +++ b/lib/libstand/ufs.c @@ -74,6 +74,10 @@ #include "stand.h" #include "string.h" +#ifdef __alpha__ +#define COMPAT_UFS /* DUX has old format file systems */ +#endif + static int ufs_open(const char *path, struct open_file *f); static int ufs_close(struct open_file *f); static int ufs_read(struct open_file *f, void *buf, size_t size, size_t *resid); |