From c655294a392c329eca7dfc339ab79d8c910283d9 Mon Sep 17 00:00:00 2001 From: CAI Qian Date: Wed, 22 Oct 2008 21:21:14 -0700 Subject: [PATCH] sfdisk: fix Compilation Error This patch fixes a compilation error in the latest tree. Signed-off-by: CAI Qian --- fdisk/sfdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5