Fix minor error-handling bug in r23676
authorGreg Hudson <ghudson@mit.edu>
Sun, 31 Jan 2010 21:04:48 +0000 (21:04 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sun, 31 Jan 2010 21:04:48 +0000 (21:04 +0000)
ticket: 6650

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23679 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/dbutil/kdb5_mkey.c

index b2ac379dfe25075789cdc23c0e8d8ffb28b10946..83a23ef792d7e43e13ec50849ba14cdc0aa2fa96 100644 (file)
@@ -1194,7 +1194,7 @@ kdb5_purge_mkeys(int argc, char *argv[])
     }
 
     if (master_keylist == NULL) {
-        com_err(progname, retval, "master keylist not initialized");
+        com_err(progname, 0, "master keylist not initialized");
         exit_status++;
         return;
     }