summaryrefslogtreecommitdiffstats
path: root/src/attach.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/attach.c')
-rw-r--r--src/attach.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/attach.c b/src/attach.c
index 5c9c647..1846288 100644
--- a/src/attach.c
+++ b/src/attach.c
@@ -36,13 +36,12 @@ char read_status(pid_t pid)
FILE *h_status = fopen(path, "rb");
if (!h_status) return 0;
read_file(str, 4096, h_status);
- DEBUG("PROC FILE\n%s", str->data);
int err;
regmatch_t pmatch[2];
err = regexec(&regex, str->data, 2, pmatch, 0);
if (err) {
- DEBUG("failed to find regex match in /proc/%d/status file: 0x%x\n", pid, err);
+ DEBUG("failed to find regex match in /proc/%d/status file\n", pid);
} else {
c = *(str->data + pmatch[1].rm_so);
}