fails, instead of fprintf of the error number.
(cf krb5-bugs db #499, 13-Nov-1997)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11546
dc483132-0cff-0310-8789-
dd5450dbe970
+1999-07-06 Ken Raeburn <raeburn@mit.edu>
+
+ * kdb5_util.c (main): Do try using com_err in the case that
+ krb5_init_context fails, instead of fprintf of the error number.
+
1998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Set the myfulldir and mydir variables (which are
retval = krb5_init_context(&util_context);
if (retval) {
- fprintf(stderr, "krb5_init_context failed with error #%ld\n",
- (long) retval);
+ com_err (progname, retval, "while initializing Kerberos code");
exit(1);
}
initialize_adb_error_table();