commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 02/30: Print which path init tried to execv


From: Samuel Thibault
Subject: [hurd] 02/30: Print which path init tried to execv
Date: Tue, 22 Sep 2015 21:51:57 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 5d1c6af9f59c7a768684a537fc32389be8cddeca
Author: Samuel Thibault <address@hidden>
Date:   Sat Aug 8 14:09:44 2015 +0200

    Print which path init tried to execv
    
    * init/init.c (main): On execv failure, print which path failed.
---
 init/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init/init.c b/init/init.c
index b3d3301..fe230da 100644
--- a/init/init.c
+++ b/init/init.c
@@ -146,7 +146,7 @@ main (int argc, char **argv)
       error (1, errno, "failed to fork");
     case 0:
       execv (args[0], args);
-      error (2, errno, "failed to execv child");
+      error (2, errno, "failed to execv child %s", args[0]);
     }
 
   select (0, NULL, NULL, NULL, NULL);

-- 
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]