bug-bash
[Top][All Lists]
Advanced

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

format string error


From: anil
Subject: format string error
Date: 22 May 2003 11:36:40 -0000

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: openbsd3.3
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='openbsd3.3' -DCONF_MACHTYPE='i386-unknown-openbsd3.3' 
-DCONF_VENDOR='unknown' -DSHELL  -DHAVE_CONFIG_H  -I.  
-I/usr/obj/ports/bash-2.05b/bash-2.05b 
-I/usr/obj/ports/bash-2.05b/bash-2.05b/include 
-I/usr/obj/ports/bash-2.05b/bash-2.05b/lib  -O2   -pipe -march=i686
uname output: OpenBSD quick.recoil.org 3.3 QUICK#1 i386
Machine Type: i386-unknown-openbsd3.3

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
        Missing format string argument in common.c

Repeat-By:
        Patch attached

Fix:
--- 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");
 }





reply via email to

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