Fix up other secure_creat().

pull/2/head
Christopher Wellons 2017-03-05 18:11:41 -05:00
parent 57d299ee97
commit 0e9a0b494d
1 changed files with 2 additions and 2 deletions

View File

@ -302,7 +302,7 @@ get_passphrase(char *buf, size_t len, char *prompt)
/* fallback to standard open */
static FILE *
secure_creat(char *file)
secure_creat(const char *file)
{
return fopen(file, "wb");
}
@ -310,7 +310,7 @@ secure_creat(char *file)
#else
/* fallback to standard open */
static FILE *
secure_creat(char *file)
secure_creat(const char *file)
{
return fopen(file, "wb");
}