Commit f928d3ed authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Casting getpid() return type to something accepted by printf().

parent 70d3410a
......@@ -4415,7 +4415,7 @@ int main(int argc, char *argv[])
if (o_attach) {
char line[10];
printf("%s: pid %u\n", name, getpid());
printf("%s: pid %lu\n", name, (unsigned long)getpid());
printf("<Press RETURN to continue>\n");
fgets(line, sizeof line, stdin);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment