From: Cyril H. <su...@li...> - 2013-04-19 12:22:25
|
The branch, master, has been updated via 5f070bc21e68409a106b2fcb1c48f574f2d3ee09 (commit) from 2f474a8158d13b339bf9bc7257c475b17031761e (commit) - Log ----------------------------------------------------------------- commit 5f070bc21e68409a106b2fcb1c48f574f2d3ee09 Author: Jan Stancek <jst...@re...> Date: Fri Apr 19 14:00:02 2013 +0200 growfiles: fix copy paste error in -O parameter This condition should check parameter it just parsed. Signed-off-by: Jan Stancek <jst...@re...> ----------------------------------------------------------------------- Summary of changes: testcases/kernel/fs/doio/growfiles.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/testcases/kernel/fs/doio/growfiles.c b/testcases/kernel/fs/doio/growfiles.c index 8d82ff8..44c943e 100644 --- a/testcases/kernel/fs/doio/growfiles.c +++ b/testcases/kernel/fs/doio/growfiles.c @@ -635,7 +635,7 @@ int main(int argc, char **argv) case 'O': if (sscanf(optarg, "%i", &Alignment) != 1 || - num_auto_files < 0) { + Alignment < 0) { fprintf(stderr, "%s%s: --O option arg invalid\n", hooks/post-receive -- ltp |