aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/xattr.c b/ext2fs/xattr.c
index bfc34028..f6ea0f39 100644
--- a/ext2fs/xattr.c
+++ b/ext2fs/xattr.c
@@ -663,7 +663,7 @@ ext2_set_xattr (struct node *np, const char *name, const char *value,
size_t rest;
error_t err;
block_t blkno;
- void *block;
+ void *block = NULL;
struct ext2_inode *ei;
struct ext2_xattr_header *header;
struct ext2_xattr_entry *entry;