aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/bsdlabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.c')
-rw-r--r--sbin/bsdlabel/bsdlabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c
index d3ec8992bf99..97ddeb6aceb1 100644
--- a/sbin/bsdlabel/bsdlabel.c
+++ b/sbin/bsdlabel/bsdlabel.c
@@ -238,7 +238,7 @@ main(int argc, char *argv[])
pname = g_providername(fd);
close(fd);
if (pname == NULL) {
- warnx("error getting providername for %s", specname);
+ warn("error getting providername for %s", specname);
return(1);
}
}