chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] rename files to have '_' instead of '-' in them.
[elogind.git]
/
udevdb.c
diff --git
a/udevdb.c
b/udevdb.c
index f2469367109870009786cd6f5241c246ada8fafb..c4dc4f005cbd307deadffcc51095180d058bb12d 100644
(file)
--- a/
udevdb.c
+++ b/
udevdb.c
@@
-52,7
+52,7
@@
int udevdb_add_dev(const char *path, const struct udevice *dev)
if ((path == NULL) || (dev == NULL))
return -ENODEV;
- memset(keystr, 0,
NAME_SIZE
);
+ memset(keystr, 0,
SYSFS_PATH_MAX
);
strfieldcpy(keystr, path);
key.dptr = keystr;
key.dsize = strlen(keystr) + 1;