From 5eb1ad14622fea8d1b491d83ce96a7df74875c29 Mon Sep 17 00:00:00 2001 From: lulf Date: Tue, 30 Sep 2008 07:18:49 +0000 Subject: - Improve error message given on g_providername call failure. - While there, make error messages consistent with the rest. Approved by: kib (mentor) --- sbin/bsdlabel/bsdlabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/bsdlabel') diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c index d3ec899..97ddeb6 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); } } -- cgit v1.1