summaryrefslogtreecommitdiff
path: root/udev_device.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-28 23:15:51 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-28 23:15:51 +0200
commitb2c6818dc35f7b149bba7bf963d1a3afb8daa867 (patch)
tree6e3444b532295239ee987ed22d8381562d72f681 /udev_device.c
parentd2ecd6a19d147ede317995cce1b21042291a6b19 (diff)
rename ...trailing_char() to ...trailing_chars()
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_device.c')
-rw-r--r--udev_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_device.c b/udev_device.c
index db72d3007d..ad6f706366 100644
--- a/udev_device.c
+++ b/udev_device.c
@@ -58,7 +58,7 @@ int udev_init_device(struct udevice *udev, const char* devpath, const char *subs
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;