fix some error messages to be more understandable.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5873 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-04-07 19:38:29 +00:00
parent 2d37fa907b
commit 7fec939048

View File

@@ -194,10 +194,10 @@ int main(int argc, char **argv)
asprintf(&tmp_db, "%s~", database);
ret = hdb_create(context, &db, tmp_db);
if(ret)
krb5_err(context, 1, ret, "hdb_open(%s)", tmp_db);
krb5_err(context, 1, ret, "hdb_create(%s)", tmp_db);
ret = db->open(context, db, O_RDWR | O_CREAT | O_TRUNC, 0600);
if(ret)
krb5_err(context, 1, ret, "hdb_open");
krb5_err(context, 1, ret, "hdb_open(%s)", tmp_db);
nprincs = 0;
while(1){