diff options
author | Petr Uzel | 2011-09-19 15:29:09 +0200 |
---|---|---|
committer | Karel Zak | 2011-09-27 15:23:53 +0200 |
commit | 8c4c0268a66d51b94bb4bd4bae5a497d717c7d97 (patch) | |
tree | 5664cd3eb42479f71b5bb30ea905081bde45b6d5 /fdisk/sfdisk.c | |
parent | blkid: fix unfinished sentence for -l option in blkid.8 (diff) | |
download | kernel-qcow2-util-linux-8c4c0268a66d51b94bb4bd4bae5a497d717c7d97.tar.gz kernel-qcow2-util-linux-8c4c0268a66d51b94bb4bd4bae5a497d717c7d97.tar.xz kernel-qcow2-util-linux-8c4c0268a66d51b94bb4bd4bae5a497d717c7d97.zip |
sfdisk: file descriptor is of int type
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
Diffstat (limited to 'fdisk/sfdisk.c')
-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 46245d3f9..81a50ee78 100644 --- a/fdisk/sfdisk.c +++ b/fdisk/sfdisk.c @@ -156,7 +156,7 @@ fatal(char *s, ...) { */ static int -sseek(char *dev, unsigned int fd, unsigned long s) { +sseek(char *dev, int fd, unsigned long s) { off_t in, out; in = ((off_t) s << 9); out = 1; |