Add function name in error message.

This commit is contained in:
Nick Hibma 2002-06-23 13:19:09 +00:00
parent 2cc213c443
commit b0c6cb7fdd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98674

View File

@ -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