diff options
-rw-r--r-- | ext2fs/ext2fs.c | 4 | ||||
-rw-r--r-- | ufs/main.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c index d70bd853..b0d7495e 100644 --- a/ext2fs/ext2fs.c +++ b/ext2fs/ext2fs.c @@ -67,7 +67,9 @@ main (int argc, char **argv) /* Initialize the diskfs library. This must come before any other diskfs call. */ - diskfs_init_diskfs (); + err = diskfs_init_diskfs (); + if (err) + error (4, err, "init"); err = diskfs_device_open (); if (err) @@ -83,7 +83,9 @@ main (int argc, char **argv) } /* Initialize the diskfs library. Must come before any other diskfs call. */ - diskfs_init_diskfs (); + err = diskfs_init_diskfs (); + if (err) + error (4, err, "init"); err = diskfs_device_open (); if (err) |