diff --git a/lustre/tests/openfile.c b/lustre/tests/openfile.c index 821363ac93a6cd2d1265c8d82e77a767c9201195..c2a5fd688a97f512d732a17668572e1bba724c09 100644 --- a/lustre/tests/openfile.c +++ b/lustre/tests/openfile.c @@ -123,9 +123,9 @@ int main(int argc, char** argv) printf("flags = %d\n",flags); #endif break; - } else + } else flags = 0; - + for (tmp = strtok(cloned_flags, ":|"); tmp; tmp = strtok(NULL, ":|")) { int i = 0; @@ -216,4 +216,3 @@ out: return save_errno; } -