commit f01e65a33a3d0f4dc120b24b3298d75b1bb8f909
Author: Alexander Kuleshov <[email protected]>
Date:   Mon Dec 28 18:12:31 2015 +0600

    fdisk(8): check the result of read_s0()
    
    The read_s0() function can return -1 on failure, so we need to
    check its result.

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

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


-- 
DragonFly BSD source repository

Reply via email to