summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dev_mkdb/dev_mkdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/dev_mkdb/dev_mkdb.c')
-rw-r--r--usr.sbin/dev_mkdb/dev_mkdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/dev_mkdb/dev_mkdb.c b/usr.sbin/dev_mkdb/dev_mkdb.c
index 188256d..42a24a9 100644
--- a/usr.sbin/dev_mkdb/dev_mkdb.c
+++ b/usr.sbin/dev_mkdb/dev_mkdb.c
@@ -115,7 +115,7 @@ main(int argc, char *argv[])
db = dbopen(dbtmp, O_CREAT|O_EXLOCK|O_RDWR|O_TRUNC,
S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, DB_HASH, NULL);
if (db == NULL)
- err(1, "%s", dbtmp);
+ err(1, "dbopen %s", dbtmp);
/*
* Keys are a mode_t followed by a dev_t. The former is the type of
OpenPOWER on IntegriCloud