diff options
author | Mike Smith <msmith@FreeBSD.org> | 1999-11-04 17:48:11 +0000 |
---|---|---|
committer | Mike Smith <msmith@FreeBSD.org> | 1999-11-04 17:48:11 +0000 |
commit | 586aaa0f6bd0868a0f457551f5f2010947a52161 (patch) | |
tree | 2dc5f5ffd1585e651e79eaecc744a84f4d6fc8a2 /sys/kern/vfs_mount.c | |
parent | 065f7f132abb4fdcdafd6290164f854aaa4b42a7 (diff) | |
download | src-test2-586aaa0f6bd0868a0f457551f5f2010947a52161.tar.gz src-test2-586aaa0f6bd0868a0f457551f5f2010947a52161.zip |
Notes
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index fa3ee4f22e19..bce7489a3318 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -179,7 +179,7 @@ vfs_mountroot_try(char *mountfrom) vfsname = malloc(MFSNAMELEN, M_MOUNT, M_WAITOK); path = malloc(MNAMELEN, M_MOUNT, M_WAITOK); vfsname[0] = path[0] = 0; - sprintf(patt, "%%%d[a-z]:%%%ds", MFSNAMELEN, MNAMELEN); + sprintf(patt, "%%%d[a-z0-9]:%%%ds", MFSNAMELEN, MNAMELEN); if (sscanf(mountfrom, patt, vfsname, path) < 1) goto done; |