%d and pid_t don't mix on solaris, so use %ld and cast to long

This commit is contained in:
Bill Currie 2002-04-07 05:40:27 +00:00
parent 9540e9af4a
commit 0f198f118e

View file

@ -1095,9 +1095,9 @@ preprocess_file (const char *filename)
perror ("wait");
exit (1);
}
fprintf (stderr, "%s: The wrong child (%d) died. Don't ask me, I don't know either.\n",
fprintf (stderr, "%s: The wrong child (%ld) died. Don't ask me, I don't know either.\n",
this_program,
rc);
(long) rc);
exit (1);
}
if (WIFEXITED (status)) {