diff options
Diffstat (limited to 'drivers/input/input.c')
| -rw-r--r-- | drivers/input/input.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/input/input.c b/drivers/input/input.c index 011667fedda..26da3a95ff0 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -652,7 +652,7 @@ int input_stdio_register(struct stdio_dev *dev)  	error = stdio_register(dev);  	/* check if this is the standard input device */ -	if (!error && strcmp(getenv("stdin"), dev->name) == 0) { +	if (!error && strcmp(env_get("stdin"), dev->name) == 0) {  		/* reassign the console */  		if (OVERWRITE_CONSOLE ||  				console_assign(stdin, dev->name)) | 
