bug-bash
[Top][All Lists]
Advanced

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

minor format bug in bash


From: Anil Madhavapeddy
Subject: minor format bug in bash
Date: Mon, 14 Apr 2003 09:26:52 +0100
User-agent: Mutt/1.4.1i

Hi,

A format string is missing an argument; detected with
-Wformat on OpenBSD.  Patch is below.

cheers
Anil

--- builtins/common.c.orig      Mon Apr 14 09:29:36 2003
+++ builtins/common.c   Mon Apr 14 09:29:45 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");
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]