summaryrefslogtreecommitdiffstats
path: root/mount/mount_guess_rootdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount/mount_guess_rootdev.c')
-rw-r--r--mount/mount_guess_rootdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/mount_guess_rootdev.c b/mount/mount_guess_rootdev.c
index 072c09fc4..7246d319a 100644
--- a/mount/mount_guess_rootdev.c
+++ b/mount/mount_guess_rootdev.c
@@ -25,7 +25,7 @@ rootdev(char *p) {
char *type = "hd";
char let;
int ma, mi;
- char devname[8];
+ char devname[32];
devno = strtoul(p, &ep, 16);
if ((ep == p+3 || ep == p+4) && (*ep == ' ' || *ep == 0)) {