warnings on platforms where sig_atomic_t is not a int, from netbsd via Michael van Elst, Havard Eidnes and T K Spindler
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22773 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -928,8 +928,8 @@ main(int argc, char **argv)
|
||||
else if(exit_flag == SIGINT || exit_flag == SIGTERM)
|
||||
krb5_warnx(context, "%s terminated", getprogname());
|
||||
else
|
||||
krb5_warnx(context, "%s unexpected exit reason: %d",
|
||||
getprogname(), exit_flag);
|
||||
krb5_warnx(context, "%s unexpected exit reason: %ld",
|
||||
getprogname(), (long)exit_flag);
|
||||
|
||||
write_master_down(context);
|
||||
|
||||
|
@@ -625,8 +625,8 @@ main(int argc, char **argv)
|
||||
else if(exit_flag == SIGINT || exit_flag == SIGTERM)
|
||||
krb5_warnx(context, "%s terminated", getprogname());
|
||||
else
|
||||
krb5_warnx(context, "%s unexpected exit reason: %d",
|
||||
getprogname(), exit_flag);
|
||||
krb5_warnx(context, "%s unexpected exit reason: %ld",
|
||||
getprogname(), (long)exit_flag);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user