summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index 0ddaa28..fc1b81a 100644
--- a/utils.c
+++ b/utils.c
@@ -135,8 +135,7 @@ debug_resource_usage()
debug(DBG_MALLOC, "Open files:");
while ((dent = readdir(dir)) != NULL) {
- if (!strcmp(dent->d_name, ".") ||
- !strcmp(dent->d_name, ".."))
+ if (streq(dent->d_name, ".") || streq(dent->d_name, ".."))
continue;
r = readlinkat(dirfd(dir), dent->d_name, buf, sizeof(buf));