diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/gnunet_disk_lib.h | 2 | ||||
-rw-r--r-- | src/util/disk.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index 692507641..1f48d0d6a 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h | |||
@@ -157,7 +157,7 @@ int GNUNET_DISK_file_size (const char *filename, | |||
157 | * file on disk in directory for temporary files | 157 | * file on disk in directory for temporary files |
158 | */ | 158 | */ |
159 | char * | 159 | char * |
160 | GNUNET_DISK_mktemp (const char *template); | 160 | GNUNET_DISK_mktemp (const char *t); |
161 | 161 | ||
162 | 162 | ||
163 | /** | 163 | /** |
diff --git a/src/util/disk.c b/src/util/disk.c index 899299e07..b8653ed1e 100644 --- a/src/util/disk.c +++ b/src/util/disk.c | |||
@@ -200,7 +200,7 @@ GNUNET_DISK_file_size (const char *filename, | |||
200 | * file on disk in directory for temporary files | 200 | * file on disk in directory for temporary files |
201 | */ | 201 | */ |
202 | char * | 202 | char * |
203 | GNUNET_DISK_mktemp (const char *template) | 203 | GNUNET_DISK_mktemp (const char *t) |
204 | { | 204 | { |
205 | const char *tmpdir; | 205 | const char *tmpdir; |
206 | int fd; | 206 | int fd; |
@@ -214,7 +214,7 @@ GNUNET_DISK_mktemp (const char *template) | |||
214 | "%s%s%s%s", | 214 | "%s%s%s%s", |
215 | tmpdir, | 215 | tmpdir, |
216 | DIR_SEPARATOR_STR, | 216 | DIR_SEPARATOR_STR, |
217 | template, | 217 | t, |
218 | "XXXXXX"); | 218 | "XXXXXX"); |
219 | #ifdef MINGW | 219 | #ifdef MINGW |
220 | fn = (char *) GNUNET_malloc (MAX_PATH + 1); | 220 | fn = (char *) GNUNET_malloc (MAX_PATH + 1); |