commit 9dad40ba3cbdb70c6739bf87d6dc0b4d759316dd
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 
66cfca72e59ff7518d7da5c0e3f667777d18c7ae..4a0e11004e85fa65c042a9d7ed28bda8c9d5423e
 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1960,7 +1960,7 @@ char *odf_read_sb_data(struct odf_sb_inf
                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

Reply via email to