aboutsummaryrefslogtreecommitdiff
path: root/console-tools/chvt.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-01-13 11:39:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-01-13 11:39:22 +0000
commit1cda715bbcaba253ffb81463f6b9260154e7a32d (patch)
tree9a0ba9636cfe7c96b86d89fc6b6521ea1408985e /console-tools/chvt.c
parent7c87b67c08b7fe379f203ecdfff6bb7d604719a5 (diff)
downloadbusybox-1cda715bbcaba253ffb81463f6b9260154e7a32d.tar.gz
Fix a bug where mount could check the wrong device. st_rdev is the correct
device ID iff the named file is a character or block special device. Otherwise it is meaningless junk, in which case st_dev should be used. This was done incorrectly, which could cause mount to display bogus mount info. -Erik
Diffstat (limited to 'console-tools/chvt.c')
0 files changed, 0 insertions, 0 deletions