Fix format string for *x type.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3017 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -51,7 +51,9 @@ _warnerr(krb5_context context, int doexit, int eval, int do_errtext, krb5_error_
|
||||
|
||||
arg = args;
|
||||
if(fmt){
|
||||
strcat(xfmt, "%s: ");
|
||||
strcat(xfmt, "%s");
|
||||
if(do_errtext)
|
||||
strcat(xfmt, ": ");
|
||||
vasprintf(&msg, fmt, ap);
|
||||
if(msg == NULL)
|
||||
return ENOMEM;
|
||||
|
Reference in New Issue
Block a user