Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/radioctl fix non-literal format stringg.



details:   https://anonhg.NetBSD.org/src/rev/16b36b684c54
branches:  trunk
changeset: 768477:16b36b684c54
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 17 13:12:39 2011 +0000

description:
fix non-literal format stringg.

diffstat:

 usr.bin/radioctl/radioctl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 556d596d6cc1 -r 16b36b684c54 usr.bin/radioctl/radioctl.c
--- a/usr.bin/radioctl/radioctl.c       Wed Aug 17 13:11:22 2011 +0000
+++ b/usr.bin/radioctl/radioctl.c       Wed Aug 17 13:12:39 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: radioctl.c,v 1.9 2011/05/24 12:40:11 joerg Exp $ */
+/* $NetBSD: radioctl.c,v 1.10 2011/08/17 13:12:39 christos Exp $ */
 /* $OpenBSD: radioctl.c,v 1.5 2001/12/18 18:42:19 mickey Exp $ */
 /* $RuOBSD: radioctl.c,v 1.4 2001/10/20 18:09:10 pva Exp $ */
 
@@ -29,7 +29,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: radioctl.c,v 1.9 2011/05/24 12:40:11 joerg Exp $");
+__RCSID("$NetBSD: radioctl.c,v 1.10 2011/08/17 13:12:39 christos Exp $");
 #endif
 
 #include <sys/ioctl.h>
@@ -360,7 +360,7 @@
  */
 static int
 parse_opt(char *s, struct opt_t *o) {
-       const char *badvalue = "bad value `%s'";
+#define        badvalue "bad value `%s'"
        char *topt = NULL;
        int slen, optlen;
 



Home | Main Index | Thread Index | Old Index