fix a format bug in an obscure corner; from avsm@

This commit is contained in:
naddy 2003-04-15 21:57:46 +00:00
parent 7fb3890451
commit 059be357d5

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-builtins_common_c,v 1.1 2003/04/15 21:57:46 naddy Exp $
--- builtins/common.c.orig Tue Apr 15 23:56:42 2003
+++ builtins/common.c Tue Apr 15 23:57:08 2003
@@ -244,7 +244,7 @@ sh_nojobs (s)
char *s;
{
if (s)
- builtin_error ("%s: no job control");
+ builtin_error ("%s: no job control", s);
else
builtin_error ("no job control");
}