Author: ivoras
Date: Tue Apr 16 22:42:40 2013
New Revision: 249571
URL: http://svnweb.freebsd.org/changeset/base/249571

Log:
  Comment typo fix.
  
  Is aware of the importance of comments: dim

Modified:
  head/sys/geom/label/g_label_disk_ident.c

Modified: head/sys/geom/label/g_label_disk_ident.c
==============================================================================
--- head/sys/geom/label/g_label_disk_ident.c    Tue Apr 16 22:09:08 2013        
(r249570)
+++ head/sys/geom/label/g_label_disk_ident.c    Tue Apr 16 22:42:40 2013        
(r249571)
@@ -71,8 +71,8 @@ g_label_disk_ident_taste(struct g_consum
                if (!found)
                        return;
                /*
-                * We can safely ignore the result of strncpy; the label will
-                * simply be truncated, which at most is only annoying.
+                * We can safely ignore the result of snprintf(): the label
+                * will simply be truncated, which at most is only annoying.
                 */
                (void)snprintf(label, size, "%s-%s", cls->name, ident);
        }
_______________________________________________
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