diff options
author | CAI Qian | 2008-10-23 06:21:14 +0200 |
---|---|---|
committer | Karel Zak | 2008-10-23 10:42:05 +0200 |
commit | c655294a392c329eca7dfc339ab79d8c910283d9 (patch) | |
tree | bc1d9f12139a575a0c6bbb74321a3339b5f52920 /fdisk | |
parent | lscpu: return EXIT_SUCCESS at the end (diff) | |
download | kernel-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>
Diffstat (limited to 'fdisk')
-rw-r--r-- | fdisk/sfdisk.c | 2 |
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)); |