summaryrefslogtreecommitdiff
path: root/examples/procmap.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1998-08-18 16:35:13 +0000
committerMartin Baulig <martin@src.gnome.org>1998-08-18 16:35:13 +0000
commitc6944b0ac8f6323273f81b0795c9bd646315fd7e (patch)
tree5839f0a92c156d8010e918a97cc3c614d563a141 /examples/procmap.c
parent333d78590ab9fda2ee727ead333bdecb4888267d (diff)
downloadlibgtop-c6944b0ac8f6323273f81b0795c9bd646315fd7e.tar.gz
Correctly using `(1 << GLIBTOP_MAP_ENTRY_FILENAME)' now.
Diffstat (limited to 'examples/procmap.c')
-rw-r--r--examples/procmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/procmap.c b/examples/procmap.c
index f54d31f6..9da8cf40 100644
--- a/examples/procmap.c
+++ b/examples/procmap.c
@@ -95,7 +95,7 @@ main (int argc, char *argv [])
unsigned device, device_major, device_minor;
char perm [5];
- if (maps [i].flags & GLIBTOP_MAP_ENTRY_FILENAME)
+ if (maps [i].flags & (1 << GLIBTOP_MAP_ENTRY_FILENAME))
filename = maps [i].filename;
#ifdef GLIBTOP_INODEDB