git: DragonFly_RELEASE_2_6 devfs - Fix incorrect st_size reporting
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Apr 1 09:26:38 PDT 2010
commit de38603c0183a45608d9741eaf559ccea71a3716
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Apr 1 09:16:23 2010 -0700
devfs - Fix incorrect st_size reporting
* The default reported st_size should be 0 and not sizeof(devfs_node).
* Fixes incorrect reporting for /dev/null and other devices.
Reported-by: marino2, numerous others (it slipped through the cracks)
Summary of changes:
sys/vfs/devfs/devfs_vnops.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/de38603c0183a45608d9741eaf559ccea71a3716
--
DragonFly BSD source repository
More information about the Commits
mailing list