summaryrefslogtreecommitdiff
path: root/libdiskfs/init-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/init-main.c')
-rw-r--r--libdiskfs/init-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/init-main.c b/libdiskfs/init-main.c
index a9680dd7..09c2b680 100644
--- a/libdiskfs/init-main.c
+++ b/libdiskfs/init-main.c
@@ -54,7 +54,7 @@ diskfs_init_main (struct argp *startup_argp,
else
{
task_get_bootstrap_port (mach_task_self (), bootstrap);
- if (bootstrap == MACH_PORT_NULL)
+ if (*bootstrap == MACH_PORT_NULL)
error (2, 0, "Must be started as a translator");
}