Explicitly cast a l_ulong to an unsigned long to make all arch's happy

with the printf format.
This commit is contained in:
John Baldwin 2003-04-16 20:43:10 +00:00
parent ecf889825d
commit 20b04da89c

View File

@ -878,7 +878,7 @@ linux_personality(struct thread *td, struct linux_personality_args *args)
{
#ifdef DEBUG
if (ldebug(personality))
printf(ARGS(personality, "%ld"), args->per);
printf(ARGS(personality, "%lu"), (unsigned long)args->per);
#endif
#ifndef __alpha__
if (args->per != 0)