NULL is not 0L. It's (void*)0. Passing that as a parameter to a function
that takes an unsigned long results in a warning about the lack of a cast.
Signed-off-by: LaMont Jones <lamont@debian.org>
}
#if defined(__sparc64__) || defined(__sparc__)
if (!strcmp(p, "sparc32bash")) {
- if (set_arch(p, NULL))
+ if (set_arch(p, 0L))
error(EXIT_FAILURE, errno, "Failed to set personality to %s", p);
execl("/bin/bash", NULL);
error(EXIT_FAILURE, errno, "/bin/bash");