summaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nto-tdep.c')
-rw-r--r--gdb/nto-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c
index b1a431ccaf..3ed48a95f8 100644
--- a/gdb/nto-tdep.c
+++ b/gdb/nto-tdep.c
@@ -138,7 +138,7 @@ nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname)
if (ret >= 0)
*temp_pathname = gdb_realpath (arch_path);
else
- **temp_pathname = '\0';
+ *temp_pathname = NULL;
}
}
return ret;