summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-03-07 20:25:40 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-03-07 20:25:40 +0000
commit96d28ee671ee84823830e5e74611a41d093e43c4 (patch)
treef21cc68f92d60f1b9d6a7ae4ef2d01dc3f3fe31e
parent04a009b295258b3208977aabee7d7b08eda6a01b (diff)
(diskfs_parse_bootargs): Use assert_perror instead of assert where
appropriate.
-rw-r--r--libdiskfs/boot-parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/boot-parse.c b/libdiskfs/boot-parse.c
index 09e3ecb2..9bf46c3b 100644
--- a/libdiskfs/boot-parse.c
+++ b/libdiskfs/boot-parse.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1993, 1994 Free Software Foundation
+ Copyright (C) 1993, 1994, 1995 Free Software Foundation
This file is part of the GNU Hurd.
@@ -94,7 +94,7 @@ diskfs_parse_bootargs (int argc, char **argv)
mig_dealloc_reply_port (msg.Head.msgh_local_port);
else
mig_put_reply_port (msg.Head.msgh_local_port);
- assert (msg_result == MACH_MSG_SUCCESS);
+ assert_perror (msg_result);
}
mig_put_reply_port (msg.Head.msgh_local_port);