CVSROOT:        /cvs/cluster
Module name:    cluster
Changes by:     [EMAIL PROTECTED]       2007-10-26 18:51:31

Modified files:
        dlm/tool       : main.c 

Log message:
        Fix format string bug

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/tool/main.c.diff?cvsroot=cluster&r1=1.10&r2=1.11

--- cluster/dlm/tool/main.c     2007/10/17 19:11:30     1.10
+++ cluster/dlm/tool/main.c     2007/10/26 18:51:31     1.11
@@ -74,7 +74,7 @@
                switch (optchar) {
                case 'm':
                        memset(modebuf, 0, sizeof(modebuf));
-                       snprintf(modebuf, 8, optarg);
+                       snprintf(modebuf, 8, "%s", optarg);
                        sscanf(modebuf, "%o", &create_mode);
                        break;
 

Reply via email to