diff options
Diffstat (limited to 'gdb/nat/linux-namespaces.c')
-rw-r--r-- | gdb/nat/linux-namespaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nat/linux-namespaces.c b/gdb/nat/linux-namespaces.c index fd0d4b0..4341429 100644 --- a/gdb/nat/linux-namespaces.c +++ b/gdb/nat/linux-namespaces.c @@ -894,7 +894,7 @@ linux_mntns_access_fs (pid_t pid) if (fd < 0) goto error; - old_chain = make_cleanup_close (fd); + make_cleanup_close (fd); if (fstat (fd, &sb) != 0) goto error; |