]> err.no Git - util-linux/commitdiff
sfdisk: fix Compilation Error
authorCAI Qian <caiqian@cclom.cn>
Thu, 23 Oct 2008 04:21:14 +0000 (21:21 -0700)
committerKarel Zak <kzak@redhat.com>
Thu, 23 Oct 2008 08:42:05 +0000 (10:42 +0200)
This patch fixes a compilation error in the latest tree.

Signed-off-by: CAI Qian <caiqian@cclom.cn>
fdisk/sfdisk.c

index 83be9eccab5e730c12e7fcdf8cd3c8443f07161f..533e729ac2bfbffee21fb9f9efe1f41e100bd638 100644 (file)
@@ -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));