aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/main.c b/gdb/main.c
index eb0b8e2..2e0c00d 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -123,8 +123,8 @@ main (argc, argv)
line[0] = '\0'; /* Terminate saved (now empty) cmd line */
instream = stdin;
- getcwd (dirbuf, sizeof (dirbuf));
- current_directory = dirbuf;
+ getcwd (gdb_dirbuf, sizeof (gdb_dirbuf));
+ current_directory = gdb_dirbuf;
/* Parse arguments and options. */
{