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] PATCH some cleanups and security fixes
[elogind.git]
/
udevstart.c
diff --git
a/udevstart.c
b/udevstart.c
index 9c1d69503d68c959eafd9ec741c491278e898f86..ba63745620cbeec1e5d3ac5744a45a30d4bacb62 100644
(file)
--- a/
udevstart.c
+++ b/
udevstart.c
@@
-211,7
+211,7
@@
static void udev_scan_class(void)
dir2 = opendir(dirname);
if (dir2 != NULL) {
for (dent2 = readdir(dir2); dent2 != NULL; dent2 = readdir(dir2)) {
- char dirname2[MAX_PATHLEN
-1
];
+ char dirname2[MAX_PATHLEN];
DIR *dir3;
struct dirent *dent3;