summaryrefslogtreecommitdiffstats
path: root/src/faudit/pid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/faudit/pid.c')
-rw-r--r--src/faudit/pid.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/faudit/pid.c b/src/faudit/pid.c
index a0fb1d921..84b23fe0a 100644
--- a/src/faudit/pid.c
+++ b/src/faudit/pid.c
@@ -46,7 +46,6 @@ void pid_test(void) {
46 /* coverity[toctou] */ 46 /* coverity[toctou] */
47 FILE *fp = fopen(fname, "r"); 47 FILE *fp = fopen(fname, "r");
48 if (!fp) { 48 if (!fp) {
49// fprintf(stderr, "Warning: cannot open %s\n", fname);
50 free(fname); 49 free(fname);
51 continue; 50 continue;
52 } 51 }
@@ -54,7 +53,6 @@ void pid_test(void) {
54 // read file 53 // read file
55 char buf[100]; 54 char buf[100];
56 if (fgets(buf, 10, fp) == NULL) { 55 if (fgets(buf, 10, fp) == NULL) {
57// fprintf(stderr, "Warning: cannot read %s\n", fname);
58 fclose(fp); 56 fclose(fp);
59 free(fname); 57 free(fname);
60 continue; 58 continue;