summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/environment.c b/common/environment.c
index 0eb7e6b6fc..e5f24ec201 100644
--- a/common/environment.c
+++ b/common/environment.c
@@ -109,7 +109,7 @@ int envfs_save(char *filename, char *dirname)
struct action_data data;
void *buf = NULL;
- data.writep = 0;
+ data.writep = NULL;
data.base = dirname;
/* first pass: calculate size */