diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-10-23 13:00:09 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2002-10-23 13:00:09 +0000 |
| commit | 7bec978084fdbd2a08a32a4c51bf0c5b931878b8 (patch) | |
| tree | 79363b8d40f01121299694b456c3cb96d48e5610 /lib/libdisk/disk.c | |
| parent | 43b6e2a273e2f09c512919c86f627b790ff72cae (diff) | |
Notes
Diffstat (limited to 'lib/libdisk/disk.c')
| -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 22c8d2bcc367..329e933f85ad 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; |
