From 07b89ba5ca71b72daf2ecda7d4d5a371d81247f2 Mon Sep 17 00:00:00 2001 From: msmith Date: Fri, 5 Nov 1999 02:45:50 +0000 Subject: Expand the sscanf buffer to 32 bytes to make room for the expanded pattern, with some space left over to avoid this mistake next time it's improved. Submitted by: luoqi --- sys/kern/vfs_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/vfs_conf.c') diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c index bce7489..23571eb 100644 --- a/sys/kern/vfs_conf.c +++ b/sys/kern/vfs_conf.c @@ -165,7 +165,7 @@ vfs_mountroot_try(char *mountfrom) struct mount *mp; char *vfsname, *path; int error; - char patt[16]; + char patt[32]; vfsname = path = mp = NULL; error = EINVAL; -- cgit v1.1