diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-10 18:39:23 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-10 18:39:23 +0200 |
commit | ecc9ec579feb4b7cc86bcf7caed3cb841faf3c9e (patch) | |
tree | ec4a377b0fb8729c7620d773f5a10eb10dbcc421 /udev/udevadm-info.c | |
parent | 75250977137c26f706fc1514aca7982107859b1c (diff) |
convert to libudev and delete udev_utils_string.c
Diffstat (limited to 'udev/udevadm-info.c')
-rw-r--r-- | udev/udevadm-info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c index 1d18f81295..402fa76e8d 100644 --- a/udev/udevadm-info.c +++ b/udev/udevadm-info.c @@ -289,7 +289,7 @@ int udevadm_info(struct udev *udev, int argc, char *argv[]) strlcpy(name, &optarg[strlen(udev_get_dev_path(udev))+1], sizeof(name)); else strlcpy(name, optarg, sizeof(name)); - remove_trailing_chars(name, '/'); + util_remove_trailing_chars(name, '/'); dbg(udev, "name: %s\n", name); break; case 'p': @@ -298,7 +298,7 @@ int udevadm_info(struct udev *udev, int argc, char *argv[]) strlcpy(path, &optarg[strlen(udev_get_sys_path(udev))], sizeof(path)); else strlcpy(path, optarg, sizeof(path)); - remove_trailing_chars(path, '/'); + util_remove_trailing_chars(path, '/'); /* possibly resolve to real devpath */ if (sysfs_resolve_link(udev, path, sizeof(path)) != 0) { |