diff options
Diffstat (limited to 'lib/libproc')
-rw-r--r-- | lib/libproc/proc_sym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libproc/proc_sym.c b/lib/libproc/proc_sym.c index 5c5ac55..dd52638 100644 --- a/lib/libproc/proc_sym.c +++ b/lib/libproc/proc_sym.c @@ -91,7 +91,7 @@ find_dbg_obj(const char *path) snprintf(dbg_path, sizeof(dbg_path), "/usr/lib/debug/%s.debug", path); fd = open(dbg_path, O_RDONLY); - if (fd > 0) + if (fd >= 0) return (fd); else return (open(path, O_RDONLY)); |