#include "udev.h"
#include "logging.h"
#include "udev_utils.h"
-#include "udev_sysfs.h"
#include "list.h"
if (devpath) {
strlcpy(udev->devpath, devpath, sizeof(udev->devpath));
- remove_trailing_char(udev->devpath, '/');
+ remove_trailing_chars(udev->devpath, '/');
if (strncmp(udev->devpath, "/block/", 7) == 0)
udev->type = DEV_BLOCK;