aboutsummaryrefslogtreecommitdiff
path: root/gdb/posix-hdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/posix-hdep.c')
-rw-r--r--gdb/posix-hdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/posix-hdep.c b/gdb/posix-hdep.c
index e1cd835..af9724f 100644
--- a/gdb/posix-hdep.c
+++ b/gdb/posix-hdep.c
@@ -48,7 +48,7 @@ sharing_input_terminal (int pid)
/* Using host-dependent code here is fine, because the
child_terminal_foo functions are meant to be used by child/native
targets. */
-#if defined (__linux__) || defined (__sun__)
+#if defined(__linux__) || defined(__sun__)
char buf[100];
xsnprintf (buf, sizeof (buf), "/proc/%d/fd/0", pid);