summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/textfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/textfile.c b/common/textfile.c
index af895e58..a756747a 100644
--- a/common/textfile.c
+++ b/common/textfile.c
@@ -160,8 +160,8 @@ static int write_key(const char *pathname, const char *key, const char *value, i
{
struct stat st;
char *map, *off, *end, *str;
- off_t size, pos; size_t base, len;
- int fd, err = 0;
+ off_t size, pos; size_t base;
+ int fd, len, err = 0;
fd = open(pathname, O_RDWR);
if (fd < 0)