summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2fd973c)
Signed-off-by: Jens Axboe <axboe@fb.com>
* are links to the real directories for the slave
* devices?
*/
* are links to the real directories for the slave
* devices?
*/
- linklen = readlink(temppath, slavepath, PATH_MAX - 0);
+ linklen = readlink(temppath, slavepath, PATH_MAX - 1);
if (linklen < 0) {
perror("readlink() for slave device.");
return;
if (linklen < 0) {
perror("readlink() for slave device.");
return;