summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openfiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index 770f796..2c3020c 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -160,7 +160,7 @@ compare_open_files(gconstpointer a, gconstpointer b)
const glibtop_open_files_entry *o2 = static_cast<const glibtop_open_files_entry *>(b);
/* Falta manejar los diferentes tipos! */
- return (o1->fd == o2->fd) && (o1->type == o1->type); /* XXX! */
+ return (o1->fd == o2->fd) && (o1->type == o2->type); /* XXX! */
}