[BusyBox-cvs] svn commit: branches/busybox_1_00_stable/busybox/shell

landley at busybox.net landley at busybox.net
Sun Aug 14 19:17:33 UTC 2005


Author: landley
Date: 2005-08-14 13:17:31 -0600 (Sun, 14 Aug 2005)
New Revision: 11149

Log:
Patch from Stephane Billiart to improve ash error message.


Modified:
   branches/busybox_1_00_stable/busybox/shell/ash.c


Changeset:
Modified: branches/busybox_1_00_stable/busybox/shell/ash.c
===================================================================
--- branches/busybox_1_00_stable/busybox/shell/ash.c	2005-08-14 19:16:51 UTC (rev 11148)
+++ branches/busybox_1_00_stable/busybox/shell/ash.c	2005-08-14 19:17:31 UTC (rev 11149)
@@ -6637,7 +6637,7 @@
 		} else
 			pid = number(*argv);
 		if (kill(pid, signo) != 0) {
-			sh_warnx("%m\n");
+			sh_warnx("kill %d: %s", pid, errmsg(errno, NULL));
 			i = 1;
 		}
 	} while (*++argv);




More information about the busybox-cvs mailing list