It should be replaced if it's used elsewhere - I believe the solution was to cast and use %lu. I'm speaking from my experience of spending 2 days tracing a segfault due to stack corrupton in a solaris autotest for just this reason.