projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fsstress: Fix wrong size argument to getcwd()
[xfstests-dev.git]
/
ltp
/
fsstress.c
diff --git
a/ltp/fsstress.c
b/ltp/fsstress.c
index 24c063e350ca8ec073def89e9e1e03f22525e5e8..96f48b1c27f2f047c15fc4294653c0ac4ddf1c61 100644
(file)
--- a/
ltp/fsstress.c
+++ b/
ltp/fsstress.c
@@
-965,7
+965,7
@@
doproc(void)
_exit(1);
}
top_ino = statbuf.st_ino;
- homedir = getcwd(NULL,
-1
);
+ homedir = getcwd(NULL,
0
);
seed += procid;
srandom(seed);
if (namerand)