From 5a732c22ede9a35af8e5c77a10ddd0a4fc8e4122 Mon Sep 17 00:00:00 2001 From: Paul Fox Date: Fri, 11 Apr 2014 15:55:54 -0400 Subject: [PATCH] mhshow: properly report the name of a failing display program otherwise it's not clear what didn't work. --- uip/mhshowsbr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index ce8a0e4d..4e5eee31 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -466,7 +466,7 @@ show_content_aux2 (CT ct, int alternate, char *cracked, char *buffer, close (fd); execvp (file, vec); fprintf (stderr, "unable to exec "); - perror ("/bin/sh"); + perror (buffer); _exit (-1); /* NOTREACHED */ -- 2.56.0