sfdisk: file descriptor is of int type
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
This commit is contained in:
parent
4103720894
commit
8c4c0268a6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue