git: mount{,_ufs}: Fix wrong mountctl(2) error check.
Sascha Wildner
swildner at crater.dragonflybsd.org
Wed Nov 14 02:08:08 PST 2012
commit 44869c118ed0709253d461ea3b1d45c4e3181f4d
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/44869c118ed0709253d461ea3b1d45c4e3181f4d
--
DragonFly BSD source repository
More information about the Commits
mailing list