aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel
diff options
context:
space:
mode:
authorRebecca Cran <brucec@FreeBSD.org>2010-11-22 20:10:48 +0000
committerRebecca Cran <brucec@FreeBSD.org>2010-11-22 20:10:48 +0000
commit1161d4202c3c938b634bd14435ec9ba96755a5d2 (patch)
tree6a56b3f4589aac0feed490c2a3650fe296d1d9b0 /sbin/bsdlabel
parent7dd052c1d9375f47c9143d93eabeb86483e98213 (diff)
downloadsrc-1161d4202c3c938b634bd14435ec9ba96755a5d2.tar.gz
src-1161d4202c3c938b634bd14435ec9ba96755a5d2.zip
Fix some more warnings found by clang.
Notes
Notes: svn path=/head/; revision=215704
Diffstat (limited to 'sbin/bsdlabel')
-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 b671821f5ab9..974150d81fc5 100644
--- a/sbin/bsdlabel/bsdlabel.c
+++ b/sbin/bsdlabel/bsdlabel.c
@@ -515,7 +515,7 @@ readlabel(int flag)
f = open(specname, O_RDONLY);
if (f < 0)
- err(1, specname);
+ err(1, "%s", specname);
if (is_file)
get_file_parms(f);
else {