commit 9fe225c4679584eca3138795e4fb5a6b05a2b62a
Author: Alexander Kuleshov <[email protected]>
Date: Mon Dec 28 17:50:15 2015 +0600
fdisk(8): check result of the read_disk() function
During detection of the sector size, the read_disk function may
return '-1'. This patch provides check for this case.
Summary of changes:
sbin/fdisk/fdisk.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9fe225c4679584eca3138795e4fb5a6b05a2b62a
--
DragonFly BSD source repository