summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/ChangeLog5
-rw-r--r--libdiskfs/init-main.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index 851d293d..5833e680 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-29 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>
+
+ * init-main.c (diskfs_init_main): Dereference BOOTSTRAP before
+ checking for MACH_PORT_NULL.
+
2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
* file-exec.c (diskfs_S_file_exec): Fix typo and braino in last change.
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");
}