(mod_entry): print the correct principal name in error messages. From

Love <lha@e.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6988 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-09-20 09:47:19 +00:00
parent 8d782a0c6a
commit 6fe7d4b04e

View File

@@ -128,7 +128,7 @@ mod_entry(int argc, char **argv)
KADM5_PRINC_EXPIRE_TIME |
KADM5_PW_EXPIRATION);
if (ret) {
printf ("no such principal: %s\n", argv[1]);
printf ("no such principal: %s\n", argv[0]);
krb5_free_principal (context, princ_ent);
return 0;
}