aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore12
-rw-r--r--src/main.c2
2 files changed, 1 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index de07cbd..ab9c734 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,15 +1,3 @@
-/naskpass
-/naskpass_check
-/src/version.h
-/tests/producer
-/tests/producer_consumer
-/tests/semtest
-/tests/semtest2
-/tests/mqtest
-/tests/strsep
-/tests/pthread
-/tests/ncurses
*.swp
*.o
*.d
-
diff --git a/src/main.c b/src/main.c
index 6cd2eea..f2a435d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -175,7 +175,7 @@ main(int argc, char **argv)
}
}
logs("%s\n", "waiting for child");
- wait(&child);
+ wait(&c_status);
memset(pbuf, '\0', IPC_MQSIZ+1);
} else {
/* fork error */