Cleaned up a lot of printing.
[distributedratelimiting.git] / drl / util.c
index 9f5706a..4bf3d04 100644 (file)
@@ -347,14 +347,3 @@ int my_lg(int x) {
 
     return c;
 }
-
-/* print out some error information if a system call failes */
-void print_system_error(int ret){
-    if (WIFSIGNALED(ret) &&
-            (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) == SIGQUIT)){
-        /* received some kind of signal during program execution */
-        printf("enforce received signal during program execution.");
-    } else {
-        perror("enforce failed (ret==-1):");
-    }
-}