git: fdisk(8): check the result of the write_s0()

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Aug 21 06:34:41 PDT 2021


commit ab9c9b79e5ecd492567ad2f43353e33278b37bec
Author: Alexander Kuleshov <kuleshovmail at gmail.com>
Date:   Mon Dec 28 18:34:55 2015 +0600

    fdisk(8): check the result of the write_s0()
    
    This patch provides a check of the write_s0() function call
    which can be -1 on failure.

Summary of changes:
 sbin/fdisk/fdisk.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ab9c9b79e5ecd492567ad2f43353e33278b37bec


-- 
DragonFly BSD source repository


More information about the Commits mailing list