sfdisk: file descriptor is of int type

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
This commit is contained in:
Petr Uzel 2011-09-19 15:29:09 +02:00 committed by Karel Zak
parent 4103720894
commit 8c4c0268a6
1 changed files with 1 additions and 1 deletions

View 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;