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

Sascha Wildner swildner at
Wed Nov 14 02:08:13 PST 2012

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

DragonFly BSD source repository

More information about the Commits mailing list