diff options
Diffstat (limited to 'polyp/authkey.c')
-rw-r--r-- | polyp/authkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/authkey.c b/polyp/authkey.c index 09a2c1b4..d3cb382b 100644 --- a/polyp/authkey.c +++ b/polyp/authkey.c @@ -85,9 +85,9 @@ finish: static int load(const char *fn, void *data, size_t length) { int fd = -1; int writable = 1; - assert(fn && data && length); int unlock = 0, ret; ssize_t r; + assert(fn && data && length); if ((fd = open(fn, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR)) < 0) { if (errno != EACCES || (fd = open(fn, O_RDONLY)) < 0) { |