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

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Nov 14 02:08:13 PST 2012


commit 105081242ad6f5eee13a8048c3904ecdb5fcb1cb
Author: Sascha Wildner <saw at 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



More information about the Commits mailing list