diff options
Diffstat (limited to 'src/loader/dsk.c')
-rw-r--r-- | src/loader/dsk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/loader/dsk.c b/src/loader/dsk.c index 338c985..5e8fc3d 100644 --- a/src/loader/dsk.c +++ b/src/loader/dsk.c @@ -4,9 +4,12 @@ #include <fs/ext2.h> #include <log.h> #include <mbr.h> +#include <pnc.h> void dsk_detect(struct dev *dev) { + assert(dev->type == DEV_DISK); + if (mbr_detect(dev)) return; |