summaryrefslogtreecommitdiff
path: root/libdiskfs/init-init.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-09-09 17:08:19 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-09-09 17:08:19 +0000
commitcc045dffd44a363dd11e93b93131aede1d7a6ef7 (patch)
tree7770fc6c1ea4b43d6bf0bd77ab133033085755c2 /libdiskfs/init-init.c
parent8e58914813f0334873e0dbb92b2761fd2a7736da (diff)
Formerly init-init.c.~17~
Diffstat (limited to 'libdiskfs/init-init.c')
-rw-r--r--libdiskfs/init-init.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libdiskfs/init-init.c b/libdiskfs/init-init.c
index f88e3f7b..cc8d5271 100644
--- a/libdiskfs/init-init.c
+++ b/libdiskfs/init-init.c
@@ -22,6 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
#include <device/device.h>
#include <hurd/fsys.h>
+#include <stdio.h>
mach_port_t diskfs_host_priv;
mach_port_t diskfs_master_device;
@@ -79,7 +80,11 @@ diskfs_init_diskfs (mach_port_t bootstrap)
MACH_MSG_TYPE_MAKE_SEND,
&realnode);
if (err)
- realnode = MACH_PORT_NULL;
+ {
+ fprintf (stderr, "Translator startup failure\n");
+ exit (1);
+ }
+ mach_port_deallocate (mach_task_self (), bootstrap);
}
else
realnode = MACH_PORT_NULL;