print the error value krb5_init_context failed with
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13001 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -550,7 +550,7 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
ret = krb5_init_context(&context);
|
ret = krb5_init_context(&context);
|
||||||
if (ret)
|
if (ret)
|
||||||
errx (1, "krb5_init_context failed");
|
errx (1, "krb5_init_context failed with %d", ret);
|
||||||
|
|
||||||
if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optind))
|
if(getarg(args, sizeof(args) / sizeof(args[0]), argc, argv, &optind))
|
||||||
usage(1);
|
usage(1);
|
||||||
|
Reference in New Issue
Block a user