summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdbpp/createMockDb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbpp/createMockDb.cpp b/libdbpp/createMockDb.cpp
index d54dae8..ef7cbf2 100644
--- a/libdbpp/createMockDb.cpp
+++ b/libdbpp/createMockDb.cpp
@@ -65,7 +65,7 @@ main(int argc, char ** argv)
if (!drop) {
std::cout << "Done. ctrl+c to tear down and exit." << std::endl;
- sigset(SIGINT, &emptyHandler);
+ signal(SIGINT, &emptyHandler);
pause();
std::cout << std::endl;