diff options
Diffstat (limited to 'gdb/posix-hdep.c')
-rw-r--r-- | gdb/posix-hdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/posix-hdep.c b/gdb/posix-hdep.c index ac6c7b2..bcc1dee 100644 --- a/gdb/posix-hdep.c +++ b/gdb/posix-hdep.c @@ -37,6 +37,7 @@ safe_strerror (int errnum) if (msg == NULL) { static char buf[32]; + xsnprintf (buf, sizeof buf, "(undocumented errno %d)", errnum); msg = buf; } |