From b3cb3dbe5058d4a1d1336d1e1a2dd89434d9e66e Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 16 Feb 2011 09:13:32 +0000 Subject: [PATCH] be silent --- src/include/gauger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/gauger.h b/src/include/gauger.h index 063bf763d..51e5b41a4 100644 --- a/src/include/gauger.h +++ b/src/include/gauger.h @@ -5,6 +5,6 @@ #include #include -#define GAUGER(counter, value) {char __gauger_s[32];pid_t __gauger_p;if(!(__gauger_p=fork())){if(!fork()){sprintf(__gauger_s,"%d",value);execlp("gauger-cli.py","gauger-cli.py",counter, __gauger_s,(char*)NULL);perror("gauger");_exit(1);}else{_exit(0);}}else{waitpid(__gauger_p,NULL,0);}} +#define GAUGER(counter, value) {char __gauger_s[32];pid_t __gauger_p;if(!(__gauger_p=fork())){if(!fork()){sprintf(__gauger_s,"%d",value);execlp("gauger-cli.py","gauger-cli.py",counter, __gauger_s,(char*)NULL);_exit(1);}else{_exit(0);}}else{waitpid(__gauger_p,NULL,0);}} #endif -- 2.25.1