svn commit: r249571 - head/sys/geom/label
Ivan Voras
ivoras at FreeBSD.org
Tue Apr 16 22:42:41 UTC 2013
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);
}
More information about the svn-src-head
mailing list