]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
sfdisk: file descriptor is of int type
authorPetr Uzel <petr.uzel@suse.cz>
Mon, 19 Sep 2011 13:29:09 +0000 (15:29 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 27 Sep 2011 13:23:53 +0000 (15:23 +0200)
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
fdisk/sfdisk.c

index 46245d3f9389e7d7cfdbc5bcaf5e124017c4f293..81a50ee78b99ead644194ba6f6201db6b4876b1a 100644 (file)
@@ -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;