git: fdisk(8): check the result of read_s0()
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Aug 21 06:34:41 PDT 2021
commit f01e65a33a3d0f4dc120b24b3298d75b1bb8f909
Author: Alexander Kuleshov <kuleshovmail at gmail.com>
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
More information about the Commits
mailing list