diff --git a/sys/geom/label/g_label_disk_ident.c b/sys/geom/label/g_label_disk_ident.c index 3bcaad28c11..b2b9adf3014 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); }