summaryrefslogtreecommitdiff
path: root/ufs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ufs/main.c')
-rw-r--r--ufs/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ufs/main.c b/ufs/main.c
index b7dd13c5..ea43acce 100644
--- a/ufs/main.c
+++ b/ufs/main.c
@@ -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)