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

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


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

commit 44869c118ed0709253d461ea3b1d45c4e3181f4d
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/44869c118ed0709253d461ea3b1d45c4e3181f4d


-- 
DragonFly BSD source repository



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