diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-01-30 22:48:39 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-01-30 22:48:39 +0000 |
commit | a68ea1cb93c29125bc4f30ddd415fca02249e010 (patch) | |
tree | 5741be315758b807145c24da9ff3a1dbf8fce4e8 /miscutils/devfsd.c | |
parent | 9a58b02ec75caafb7214f1ad0317f9a4830cbd2a (diff) | |
download | busybox-w32-a68ea1cb93c29125bc4f30ddd415fca02249e010.tar.gz busybox-w32-a68ea1cb93c29125bc4f30ddd415fca02249e010.tar.bz2 busybox-w32-a68ea1cb93c29125bc4f30ddd415fca02249e010.zip |
fix up yet more annoying signed/unsigned and mixed type errors
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r-- | miscutils/devfsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index d8a630c04..fce63e54d 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c | |||
@@ -476,7 +476,8 @@ int devfsd_main (int argc, char **argv) | |||
476 | if (fcntl (fd, F_SETFD, FD_CLOEXEC) != 0) | 476 | if (fcntl (fd, F_SETFD, FD_CLOEXEC) != 0) |
477 | devfsd_perror_msg_and_die("FD_CLOEXEC"); | 477 | devfsd_perror_msg_and_die("FD_CLOEXEC"); |
478 | 478 | ||
479 | do_ioctl_and_die(fd, DEVFSDIOC_GET_PROTO_REV,(int )&proto_rev); | 479 | if (ioctl (fd, DEVFSDIOC_GET_PROTO_REV, &proto_rev) == -1) |
480 | msg_logger_and_die(LOG_ERR, "ioctl"); | ||
480 | 481 | ||
481 | /*setup initial entries */ | 482 | /*setup initial entries */ |
482 | for (curr = initial_symlinks; curr->dest != NULL; ++curr) | 483 | for (curr = initial_symlinks; curr->dest != NULL; ++curr) |