From: CAI Qian Date: Thu, 23 Oct 2008 04:21:14 +0000 (-0700) Subject: sfdisk: fix Compilation Error X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c655294a392c329eca7dfc339ab79d8c910283d9;p=util-linux sfdisk: fix Compilation Error This patch fixes a compilation error in the latest tree. Signed-off-by: CAI Qian --- diff --git a/fdisk/sfdisk.c b/fdisk/sfdisk.c index 83be9ecc..533e729a 100644 --- a/fdisk/sfdisk.c +++ b/fdisk/sfdisk.c @@ -809,7 +809,7 @@ reread_ioctl(int fd) { } static int -is_blockdev(int fd, ) { +is_blockdev(int fd) { struct stat statbuf; return(fstat(fd, &statbuf) == 0 && S_ISBLK(statbuf.st_mode));