summaryrefslogtreecommitdiff
blob: fcec078d3d0c963b27d4e99334432f5e3ffd6614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fix obvious error:
common.c:247:5: warning: format '%s' expects a matching 'char *' argument [-Wformat=]

--- a/builtins/common.c
+++ b/builtins/common.c
@@ -244,7 +244,7 @@
      char *s;
 {
   if (s)
-    builtin_error ("%s: no job control");
+    builtin_error ("%s: no job control", s);
   else
     builtin_error ("no job control");
 }