do not whine if /sys/block does not exist ... embedded systems dont need stinkin block devices

This commit is contained in:
Mike Frysinger 2009-01-08 17:19:01 +00:00
parent 501b0e335f
commit 870ccd7212

View File

@ -421,7 +421,7 @@ int mdev_main(int argc UNUSED_PARAM, char **argv)
* (kernel's CONFIG_SYSFS_DEPRECATED makes them real dirs, * (kernel's CONFIG_SYSFS_DEPRECATED makes them real dirs,
* but we can't enforce that on users) */ * but we can't enforce that on users) */
recursive_action("/sys/block", recursive_action("/sys/block",
ACTION_RECURSE | ACTION_FOLLOWLINKS, ACTION_RECURSE | ACTION_FOLLOWLINKS | ACTION_QUIET,
fileAction, dirAction, temp, 0); fileAction, dirAction, temp, 0);
recursive_action("/sys/class", recursive_action("/sys/class",
ACTION_RECURSE | ACTION_FOLLOWLINKS, ACTION_RECURSE | ACTION_FOLLOWLINKS,