diff options
author | avg <avg@FreeBSD.org> | 2011-12-17 15:26:34 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2011-12-17 15:26:34 +0000 |
commit | abb1713421269460e80f10ebf41aa50803e50349 (patch) | |
tree | ce4922a88e0b934a7c0e69b20f864fa538231387 /sys/kern | |
parent | 53f09b7dafb734fd1c82af5d5e7415c7380c60db (diff) | |
download | FreeBSD-src-abb1713421269460e80f10ebf41aa50803e50349.zip FreeBSD-src-abb1713421269460e80f10ebf41aa50803e50349.tar.gz |
replace uses of libkern gets with cngets
MFC after: 2 months
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_mountroot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_mountroot.c b/sys/kern/vfs_mountroot.c index 98e252e..c722bd3 100644 --- a/sys/kern/vfs_mountroot.c +++ b/sys/kern/vfs_mountroot.c @@ -42,10 +42,10 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/conf.h> +#include <sys/cons.h> #include <sys/fcntl.h> #include <sys/jail.h> #include <sys/kernel.h> -#include <sys/libkern.h> #include <sys/malloc.h> #include <sys/mdioctl.h> #include <sys/mount.h> @@ -486,7 +486,7 @@ parse_dir_ask(char **conf) do { error = EINVAL; printf("\nmountroot> "); - gets(name, sizeof(name), GETS_ECHO); + cngets(name, sizeof(name), GETS_ECHO); if (name[0] == '\0') break; if (name[0] == '?' && name[1] == '\0') { |