summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorivoras <ivoras@FreeBSD.org>2013-04-16 22:42:40 +0000
committerivoras <ivoras@FreeBSD.org>2013-04-16 22:42:40 +0000
commit10282201983e9d7cdb91548695c81132fe1bcc64 (patch)
treea6bf1810bee61da780c0877f9cab8894411eba58 /sys/geom
parent761f4524d4ea4483a6ab5a48b3dca217d6c47f3a (diff)
downloadFreeBSD-src-10282201983e9d7cdb91548695c81132fe1bcc64.zip
FreeBSD-src-10282201983e9d7cdb91548695c81132fe1bcc64.tar.gz
Comment typo fix.
Is aware of the importance of comments: dim
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/label/g_label_disk_ident.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/label/g_label_disk_ident.c b/sys/geom/label/g_label_disk_ident.c
index 3bcaad2..b2b9adf 100644
--- a/sys/geom/label/g_label_disk_ident.c
+++ b/sys/geom/label/g_label_disk_ident.c
@@ -71,8 +71,8 @@ g_label_disk_ident_taste(struct g_consumer *cp, char *label, size_t size)
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);
}
OpenPOWER on IntegriCloud