Author: dim
Date: Sun Jan  1 23:20:36 2012
New Revision: 229235
URL: http://svn.freebsd.org/changeset/base/229235

Log:
  MFC r228671:
  
  In usr.sbin/pmccontrol/pmccontrol.c, fix a few warnings about format
  strings not being literals.

Modified:
  stable/9/usr.sbin/pmccontrol/pmccontrol.c
Directory Properties:
  stable/9/usr.sbin/pmccontrol/   (props changed)

Modified: stable/9/usr.sbin/pmccontrol/pmccontrol.c
==============================================================================
--- stable/9/usr.sbin/pmccontrol/pmccontrol.c   Sun Jan  1 23:18:34 2012        
(r229234)
+++ stable/9/usr.sbin/pmccontrol/pmccontrol.c   Sun Jan  1 23:20:36 2012        
(r229235)
@@ -450,7 +450,7 @@ main(int argc, char **argv)
 
                case '?':
                        warnx("Unrecognized option \"-%c\"", optopt);
-                       errx(EX_USAGE, usage_message);
+                       errx(EX_USAGE, "%s", usage_message);
                        break;
 
                default:
@@ -460,7 +460,7 @@ main(int argc, char **argv)
                }
 
        if (command == PMCC_PRINT_USAGE)
-               (void) errx(EX_USAGE, usage_message);
+               (void) errx(EX_USAGE, "%s", usage_message);
 
        if (error)
                exit(EX_USAGE);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to