summaryrefslogtreecommitdiffstats
path: root/src/hdaccess.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-25 13:09:02 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-25 13:09:02 +0200
commitb7a3d0755ff06dd98d60e27e00b89ad891dbf367 (patch)
tree6c438cb796c1d5c5c82cc4cadcc52282bdc7013d /src/hdaccess.c
parentcf15e5dcd2f75edef2f1ddb382ec08b628a7823f (diff)
Fix various warning reported by gcc
Diffstat (limited to 'src/hdaccess.c')
-rw-r--r--src/hdaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hdaccess.c b/src/hdaccess.c
index 60eeb49..e9df045 100644
--- a/src/hdaccess.c
+++ b/src/hdaccess.c
@@ -1117,7 +1117,7 @@ static void file_clean(disk_t *disk)
}
#endif
close(data->handle);
- data->handle=NULL;
+ data->handle=0;
}
generic_clean(disk);
}