mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
- The GEOM system does not work on pc98.
- Fix to build w/o the HAVE_GEOM option.
This commit is contained in:
parent
43b6e2a273
commit
7bec978084
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue