diff --git a/udev_device.c b/udev_device.c index 5d9a86b..bd03d40 100644 --- a/udev_device.c +++ b/udev_device.c @@ -334,6 +334,7 @@ static int populate_bit(unsigned long *arr, const char *val) return 0; } + // TODO remove. strtoul is able to handle this bit = strtok_r(bits, " ", &save); for (i = 0; bit && i < BITS_MAX; i++) {