Fix warnings.

This commit is contained in:
Nicolas Williams
2011-07-20 00:01:53 -05:00
parent e020dc25b8
commit a246c394d2
2 changed files with 1 additions and 2 deletions

View File

@@ -90,7 +90,7 @@ main(int argc, char **argv)
keyset.kvno = kvno_integer;
keyset.set_time = malloc(sizeof (*keyset.set_time));
if (keyset.set_time == NULL)
errx(1, "couldn't allocate set_time field of keyset", ret);
errx(1, "couldn't allocate set_time field of keyset");
*keyset.set_time = time(NULL);
ret = hdb_generate_key_set_password(context, principal, password_str,