summaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 5539f1e..57d2d04 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -515,7 +515,7 @@ static const struct {
static char *nfs_strerror(int status)
{
int i;
- static char buf[256];
+ static char buf[sizeof("unknown nfs status return value: ") + sizeof(int)*3];
for (i = 0; nfs_errtbl[i].stat != -1; i++) {
if (nfs_errtbl[i].stat == status)