summaryrefslogtreecommitdiffstats
path: root/src/dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-11-03 15:24:33 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-11-03 15:24:33 +0100
commit191a261516d0f55336f37ced9fa3695d66d225d9 (patch)
tree1c74a906a1da183586adba291a2dd56cb9f3f16c /src/dir.c
parent2fd70a3b9ed309f1cf3f57d10faebf29bb451037 (diff)
fix minor code defects
Diffstat (limited to 'src/dir.c')
-rw-r--r--src/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dir.c b/src/dir.c
index 318bba9..7f3ba71 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -642,7 +642,7 @@ char *mkdir_local(const char *localroot, const char *pathname)
unsigned int l;
l=filename_convert(dst_org, src_org, n);
dst=dst_org+l;
- mkdir(localdir, 0775);
+ (void)mkdir(localdir, 0775);
}
#endif
}
@@ -721,7 +721,7 @@ FILE *fopen_local(char **localfilename, const char *localroot, const char *filen
unsigned int l;
l=filename_convert(dst_org, src_org, n);
dst=dst_org+l;
- mkdir(*localfilename, 0775);
+ (void)mkdir(*localfilename, 0775);
}
#endif
}