diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-01-13 11:39:22 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-01-13 11:39:22 +0000 |
commit | fd3baeb88e11e17577fce29c95c228879c404524 (patch) | |
tree | 9a0ba9636cfe7c96b86d89fc6b6521ea1408985e /shell | |
parent | f40d58e66d888b3cfbc9e53b676cd0134b563cf3 (diff) | |
download | busybox-w32-fd3baeb88e11e17577fce29c95c228879c404524.tar.gz busybox-w32-fd3baeb88e11e17577fce29c95c228879c404524.tar.bz2 busybox-w32-fd3baeb88e11e17577fce29c95c228879c404524.zip |
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
git-svn-id: svn://busybox.net/trunk/busybox@8279 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions