aboutsummaryrefslogtreecommitdiff
path: root/gdb/posix-hdep.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-16 01:27:02 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-16 01:27:02 +0000
commitad3bbd48b65047845b258564db3fd2e64e00c7bc (patch)
tree6fa1e4fcc2207b1528a33e4097c13526e75db941 /gdb/posix-hdep.c
parent5cc80db34dcbe944fe7b480c9841f309c0cf6e96 (diff)
downloadgdb-ad3bbd48b65047845b258564db3fd2e64e00c7bc.zip
gdb-ad3bbd48b65047845b258564db3fd2e64e00c7bc.tar.gz
gdb-ad3bbd48b65047845b258564db3fd2e64e00c7bc.tar.bz2
2010-05-15 Michael Snyder <msnyder@vmware.com>
* parse.c: White space. * p-lang.c: White space. * posix-hdep.c: White space. * printcmd.c: White space. * progspace.c: White space. * prologue-value.c: White space. * psymtab.c: White space. * p-typeprint.c: White space. * p-valprint.c: White space.
Diffstat (limited to 'gdb/posix-hdep.c')
-rw-r--r--gdb/posix-hdep.c1
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;
}