summaryrefslogtreecommitdiff
path: root/udev/udevadm-monitor.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-07-07 19:30:19 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-07-07 19:30:19 +0200
commit257bb4cdac76c00be6e17b0b656df0a2d7ee7b4d (patch)
treee02f4c2f1c3d8c99237226e9a7a773d7947c08c9 /udev/udevadm-monitor.c
parente4c02c1ca68d74d040f5bb8cb0c0c244dd8adc71 (diff)
use MIN() MAX() from param.h
Diffstat (limited to 'udev/udevadm-monitor.c')
-rw-r--r--udev/udevadm-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-monitor.c b/udev/udevadm-monitor.c
index 73516069ba..df1459ae17 100644
--- a/udev/udevadm-monitor.c
+++ b/udev/udevadm-monitor.c
@@ -204,7 +204,7 @@ int udevadm_monitor(struct udev *udev, int argc, char *argv[])
if (udev_monitor != NULL)
FD_SET(udev_monitor_get_fd(udev_monitor), &readfds);
- fdcount = select(UDEV_MAX(udev_monitor_get_fd(kernel_monitor), udev_monitor_get_fd(udev_monitor))+1,
+ fdcount = select(MAX(udev_monitor_get_fd(kernel_monitor), udev_monitor_get_fd(udev_monitor))+1,
&readfds, NULL, NULL, NULL);
if (fdcount < 0) {
if (errno != EINTR)