Improve test harness for yaffs2 mode
[yaffs2.git] / direct / tests / yaffs_test.c
index 421b5b17708b1c4df38e3a4db0ffd7afbea3236a..0030493d9e42747ac5ff89053e999c704b561ae5 100644 (file)
@@ -101,7 +101,7 @@ int main(int argc, char **argv)
                        simulate_power_failure = 0;
                        NorStressTestInitialise(mount_point);
                } else if(do_upgrade){
-                       printf("Running stress on %s with seed %d\n",argv[1],random_seed);
+                       printf("Running stress on %s with seed %d\n",mount_point,random_seed);
                        NorStressTestRun(mount_point,n_cycles,do_fsx);
                } else if(do_fsx){
                        yaffs_fsx_main(mount_point,n_cycles);