diff options
author | nyan <nyan@FreeBSD.org> | 2002-10-23 13:00:09 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2002-10-23 13:00:09 +0000 |
commit | 59e14a9b80d9d15eeb06ec206fc9654f228244d7 (patch) | |
tree | 79363b8d40f01121299694b456c3cb96d48e5610 /lib | |
parent | 500ca102031b4d908072273f6cc738e3197c72cd (diff) | |
download | FreeBSD-src-59e14a9b80d9d15eeb06ec206fc9654f228244d7.zip FreeBSD-src-59e14a9b80d9d15eeb06ec206fc9654f228244d7.tar.gz |
- The GEOM system does not work on pc98.
- Fix to build w/o the HAVE_GEOM option.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libdisk/disk.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c index 22c8d2b..329e933 100644 --- a/lib/libdisk/disk.c +++ b/lib/libdisk/disk.c @@ -28,7 +28,9 @@ __FBSDID("$FreeBSD$"); #include <paths.h> #include "libdisk.h" +#ifndef PC98 #define HAVE_GEOM +#endif #ifdef HAVE_GEOM #include <ctype.h> #include <errno.h> @@ -826,8 +828,10 @@ pc98_mo_done: Fixup_Names(d); return d; bad: +#ifdef HAVE_GEOM if (confxml != NULL) free(confxml); +#endif if (fd >= 0) close(fd); return NULL; |