diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2002-06-23 13:19:09 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2002-06-23 13:19:09 +0000 |
commit | 89f8664ea6e6c86b47bc4f2736830ecea80edafe (patch) | |
tree | e5d9e9c1f73fb66e2b4909bbb71dd5d74c679c85 /usr.sbin | |
parent | 6bfefadf421f4df4391e1cab7e1f93bf5547aa43 (diff) | |
download | FreeBSD-src-89f8664ea6e6c86b47bc4f2736830ecea80edafe.zip FreeBSD-src-89f8664ea6e6c86b47bc4f2736830ecea80edafe.tar.gz |
Add function name in error message.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/dev_mkdb/dev_mkdb.c | 2 |
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 |