aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/fileio.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-07 16:39:02 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-07 16:39:02 +0000
commit60ad077b5afe8ae6b1ceed0baf0ae2ecc7aa0e14 (patch)
tree6db484e4bf6bfcdd7e1f1bfa886df157b4013ee1 /gdb/testsuite/gdb.base/fileio.c
parent1c9b8f3352e30328717399ad128d7284ba10361a (diff)
downloadgdb-60ad077b5afe8ae6b1ceed0baf0ae2ecc7aa0e14.zip
gdb-60ad077b5afe8ae6b1ceed0baf0ae2ecc7aa0e14.tar.gz
gdb-60ad077b5afe8ae6b1ceed0baf0ae2ecc7aa0e14.tar.bz2
2004-01-07 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.c (strerrno): Add "EBUSY".
Diffstat (limited to 'gdb/testsuite/gdb.base/fileio.c')
-rw-r--r--gdb/testsuite/gdb.base/fileio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/fileio.c b/gdb/testsuite/gdb.base/fileio.c
index 9c40eb4..4fda0fd 100644
--- a/gdb/testsuite/gdb.base/fileio.c
+++ b/gdb/testsuite/gdb.base/fileio.c
@@ -479,6 +479,9 @@ strerrno (int err)
#ifdef ENOTEMPTY
case ENOTEMPTY: return "ENOTEMPTY";
#endif
+#ifdef EBUSY
+ case EBUSY: return "EBUSY";
+#endif
default: return "E??";
}
}