From 45d22dce9fb986e738313cd9f1f246255db097e8 Mon Sep 17 00:00:00 2001 From: andersen Date: Mon, 30 Jan 2006 22:48:39 +0000 Subject: fix up yet more annoying signed/unsigned and mixed type errors git-svn-id: svn://busybox.net/trunk/busybox@13732 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- miscutils/devfsd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'miscutils/devfsd.c') 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) if (fcntl (fd, F_SETFD, FD_CLOEXEC) != 0) devfsd_perror_msg_and_die("FD_CLOEXEC"); - do_ioctl_and_die(fd, DEVFSDIOC_GET_PROTO_REV,(int )&proto_rev); + if (ioctl (fd, DEVFSDIOC_GET_PROTO_REV, &proto_rev) == -1) + msg_logger_and_die(LOG_ERR, "ioctl"); /*setup initial entries */ for (curr = initial_symlinks; curr->dest != NULL; ++curr) -- cgit v1.2.3-55-g6feb