chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
"make STRIPCMD=" will disable the stripping of binaries
[elogind.git]
/
udev_device.c
diff --git
a/udev_device.c
b/udev_device.c
index db72d3007de88e86d66758f027aa1276bb410261..ad6f7063668252350fd62c54173637655f557b79 100644
(file)
--- 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_char
s
(udev->devpath, '/');
if (strncmp(udev->devpath, "/block/", 7) == 0)
udev->type = DEV_BLOCK;