commit 331432f3a33b9b0ebca19311006c9e02615d1240 Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Aug 2 14:38:37 2015 +0900
sbin/mount_hammer: Fix error messages It's possible that open(2) and signature check do not fail but mount(2) still fails possibly because of fs's bug. When that happens (it actually did happen right now) fdevs remains with no valid string strcatted. Add an error message for such case. Also change printf(); to fprintf(stderr);. Summary of changes: sbin/mount_hammer/mount_hammer.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/331432f3a33b9b0ebca19311006c9e02615d1240 -- DragonFly BSD source repository