Author: dim
Date: Sun Dec 18 01:13:21 2011
New Revision: 228682
URL: http://svn.freebsd.org/changeset/base/228682

Log:
  In usr.sbin/sade/install.c and usr.sbin/sade/label.c, fix a few warnings
  about format strings not being literals.
  
  MFC after:    1 week

Modified:
  head/usr.sbin/sade/install.c

Modified: head/usr.sbin/sade/install.c
==============================================================================
--- head/usr.sbin/sade/install.c        Sun Dec 18 01:08:25 2011        
(r228681)
+++ head/usr.sbin/sade/install.c        Sun Dec 18 01:13:21 2011        
(r228682)
@@ -104,10 +104,10 @@ performNewfs(PartInfo *pi, char *dname, 
                }
 
                if (queue == QUEUE_YES) {
-                       command_shell_add(pi->mountpoint, buffer);
+                       command_shell_add(pi->mountpoint, "%s", buffer);
                        return (0);
                } else
-                       return (vsystem(buffer));
+                       return (vsystem("%s", buffer));
        }
        return (0);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to