Author: imp
Date: Fri Aug 28 02:29:31 2015
New Revision: 287239
URL: https://svnweb.freebsd.org/changeset/base/287239

Log:
  Simply to appease gcc's warnings.

Modified:
  head/sys/dev/ow/ow.c

Modified: head/sys/dev/ow/ow.c
==============================================================================
--- head/sys/dev/ow/ow.c        Fri Aug 28 01:32:42 2015        (r287238)
+++ head/sys/dev/ow/ow.c        Fri Aug 28 02:29:31 2015        (r287239)
@@ -491,7 +491,7 @@ ow_child_location_str(device_t dev, devi
     size_t buflen)
 {
 
-       snprintf(buf, buflen, "");
+       *buf = '\0';
        return (0);
 }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to