aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-auto-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-auto-load.c')
-rw-r--r--gdb/python/py-auto-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c
index a06c126..932ae68 100644
--- a/gdb/python/py-auto-load.c
+++ b/gdb/python/py-auto-load.c
@@ -260,7 +260,7 @@ source_section_scripts (struct objfile *objfile, const char *source_name,
/* We don't throw an error, the program is still debuggable.
Check in_hash_table to only print the warning once. */
if (! in_hash_table)
- warning (_("%s (referenced in %s): %s\n"),
+ warning (_("%s (referenced in %s): %s"),
file, GDBPY_AUTO_SECTION_NAME, safe_strerror (errno));
continue;
}