aboutsummaryrefslogtreecommitdiffstats
path: root/makedata.c
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2014-01-22 15:45:34 -0600
committerPeter Seebach <peter.seebach@windriver.com>2014-01-22 15:45:34 -0600
commitd2c02ae49366523e1d1c5ce0d2a32624a0eedfa1 (patch)
treef58377709d066477df6f7b54f70b1662eb746ee6 /makedata.c
parente199ed80a0a67a2135d419e169ba378621dd55bd (diff)
downloadpseudo-d2c02ae49366523e1d1c5ce0d2a32624a0eedfa1.tar.gz
pseudo-d2c02ae49366523e1d1c5ce0d2a32624a0eedfa1.tar.bz2
pseudo-d2c02ae49366523e1d1c5ce0d2a32624a0eedfa1.zip
some minor tweaks to the performance test
Diffstat (limited to 'makedata.c')
-rw-r--r--makedata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/makedata.c b/makedata.c
index a3f9a86..d3f5ed9 100644
--- a/makedata.c
+++ b/makedata.c
@@ -9,10 +9,10 @@ main(void) {
char name[] = "dir_%d/dir_%d/%d%d.txt";
for (i = 0; i < 10; ++i) {
snprintf(name, sizeof(name), "dir_%d", i);
- mkdir(name);
+ mkdir(name, 0755);
for (j = 0; j < 40; ++j) {
snprintf(name, sizeof(name), "dir_%d/dir_%d", i, j);
- mkdir(name);
+ mkdir(name, 0755);
for (k = 0; k < 10; ++k) {
for (l = 0; l < 10; ++l) {
FILE *fp;