DragonFly BSD
DragonFly commits List (threaded) for 2012-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: DragonFly_RELEASE_3_2 mount{, _ufs}: Fix wrong mountctl(2) error check.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Nov 2012 02:08:13 -0800 (PST)

commit 105081242ad6f5eee13a8048c3904ecdb5fcb1cb
Author: Sascha Wildner <saw@online.de>
Date:   Wed Nov 14 11:06:26 2012 +0100

    mount{,_ufs}: Fix wrong mountctl(2) error check.
    
    mountctl(2) returns the number of copied bytes when successful, and -1
    if there was an error. This prevented ", local" from being printed in
    mount output.
    
    Reported-by: YONETANI Tomokazu

Summary of changes:
 sbin/mount/mount.c     |    2 +-
 sbin/mount_ufs/mount.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/105081242ad6f5eee13a8048c3904ecdb5fcb1cb


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]