diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2000-05-14 19:46:04 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2000-05-14 19:46:04 +0000 |
commit | be15ddb8f111be6e9ad0049e586005366e144a04 (patch) | |
tree | d9ef95d12d4337bda4afc8d744f98c1ba76533a4 /libdiskfs/init-main.c | |
parent | f6acccd32efea5d3578b5a9c6bac24ebf60ec163 (diff) |
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.
Diffstat (limited to 'libdiskfs/init-main.c')
-rw-r--r-- | libdiskfs/init-main.c | 2 |
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"); } |