summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCAI Qian2008-10-23 06:21:14 +0200
committerKarel Zak2008-10-23 10:42:05 +0200
commitc655294a392c329eca7dfc339ab79d8c910283d9 (patch)
treebc1d9f12139a575a0c6bbb74321a3339b5f52920
parentlscpu: return EXIT_SUCCESS at the end (diff)
downloadkernel-qcow2-util-linux-c655294a392c329eca7dfc339ab79d8c910283d9.tar.gz
kernel-qcow2-util-linux-c655294a392c329eca7dfc339ab79d8c910283d9.tar.xz
kernel-qcow2-util-linux-c655294a392c329eca7dfc339ab79d8c910283d9.zip
sfdisk: fix Compilation Error
This patch fixes a compilation error in the latest tree. Signed-off-by: CAI Qian <caiqian@cclom.cn>
-rw-r--r--fdisk/sfdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdisk/sfdisk.c b/fdisk/sfdisk.c
index 83be9ecca..533e729ac 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));