summaryrefslogtreecommitdiffstats
path: root/cgclassify.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgclassify.c')
-rw-r--r--cgclassify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgclassify.c b/cgclassify.c
index 556ed3f..c41f529 100644
--- a/cgclassify.c
+++ b/cgclassify.c
@@ -44,7 +44,7 @@ int euid_of_pid(pid_t pid)
sprintf(path, "/proc/%d/status", pid);
fp = fopen(path, "r");
if (!fp) {
- fprintf(stderr, "Error in opening file %s:%s\n", path,
+ dbg("Error in opening file %s:%s\n", path,
strerror(errno));
return -1;
}
@@ -79,7 +79,7 @@ int egid_of_pid(pid_t pid)
sprintf(path, "/proc/%d/status", pid);
fp = fopen(path, "r");
if (!fp) {
- fprintf(stderr, "Error in opening file %s:%s\n", path,
+ dbg("Error in opening file %s:%s\n", path,
strerror(errno));
return -1;
}