git: usr.sbin/fstyp: Retry fopen(3) if failed

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Oct 6 10:30:25 PDT 2019


commit 3b3b0bfe946e750d96dd07eb6a050e8084ce8b6e
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Oct 7 03:43:05 2019 +0900

    usr.sbin/fstyp: Retry fopen(3) if failed
    
    Try argv[0] if fdpath failed.

Summary of changes:
 usr.sbin/fstyp/fstyp.c   | 16 ++++++++++++----
 usr.sbin/fstyp/hammer2.c |  4 ++--
 2 files changed, 14 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3b3b0bfe946e750d96dd07eb6a050e8084ce8b6e


-- 
DragonFly BSD source repository



More information about the Commits mailing list