]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - mount/mount_guess_rootdev.c
Imported from util-linux-2.11b tarball.
[thirdparty/util-linux.git] / mount / mount_guess_rootdev.c
index 072c09fc48dc78f07a3b0979322288022ade7bb5..7246d319ae3db2f26dff8c96015e5266816ab5a5 100644 (file)
@@ -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)) {