commit 91fdbb799230fca1e4beb09f54c749f7bcf50f37
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date: Tue May 29 12:23:25 2007 -0400
use '\0' to null terminate a string
diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index 66cfca7..4a0e110 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1960,7 +1960,7 @@ char *odf_read_sb_data(struct odf_sb_info *odf_sb, int
**bid)
i++;
}
- *(ptr - 1) = 0; /* remove trailing ':' */
+ *(ptr - 1) = '\0'; /* remove trailing ':' */
err = 0;
set_fs(oldfs);
filp_close(file,NULL);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs