Package: lockfile-progs
Version: 0.1.11-0.1
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu ubuntu-patch intrepid

Hello,

As Ubuntu's gcc has some hardening patches applied, lockfile-progs
0.1.11-0.1 fails to build in Ubuntu intrepid with the following error
message:
,----
| lockfile-progs.c: In function 'usage':
| lockfile-progs.c:79: error: format not a string literal and no format 
arguments
`----
I hope your are interested in a patch fixing it (patch attached).

Regards,
Michael

diff -Nru lockfile-progs-0.1.11/lockfile-progs.c 
lockfile-progs-0.1.11/lockfile-progs.c
--- lockfile-progs-0.1.11/lockfile-progs.c      2007-08-25 02:21:18.000000000 
+0200
+++ lockfile-progs-0.1.11/lockfile-progs.c      2008-06-20 18:12:23.000000000 
+0200
@@ -76,7 +76,7 @@
         command_name);
     exit(1);
   }
-  msg(file, usage_str);
+  msg(file, "%s", usage_str);
 }
 
 static void



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to