Commit 08b341d4 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Use correct type

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent fdd843e1
......@@ -151,7 +151,7 @@ main(int argc, char* argv[])
/* Fork into the background if the user really wants to ... */
if (forkback == true) {
const int pid = fork();
const pid_t pid = fork();
if (pid > 0) { /* parent */
return 0;
} else if (pid < 0) { /* error */
......
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