commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 14/31: libdiskfs: improve error handling


From: Samuel Thibault
Subject: [hurd] 14/31: libdiskfs: improve error handling
Date: Mon, 02 May 2016 23:48:32 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit afbed6fbf2335476c9ca64aa82d5f591be6c4ded
Author: Justus Winter <address@hidden>
Date:   Tue Apr 19 11:58:33 2016 +0200

    libdiskfs: improve error handling
    
    * libdiskfs/boot-start.c (diskfs_start_bootstrap): Improve error
    handling.
---
 libdiskfs/boot-start.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index 60bf33d..0fb3e89 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -291,12 +291,13 @@ diskfs_start_bootstrap ()
                   /* Supply no intarray, since we have no info for it.
                      With none supplied, it will use the defaults.  */
                   NULL, 0, 0, 0, 0, 0);
+  if (err)
+    error (1, err, "Executing '%s'", exec_argv);
   free (exec_argv);
   free (exec_env);
   mach_port_deallocate (mach_task_self (), root_pt);
   mach_port_deallocate (mach_task_self (), startup_pt);
   mach_port_deallocate (mach_task_self (), bootpt);
-  assert_perror (err);
 }
 
 /* We look like an execserver to the execserver itself; it makes this

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]