File WindowMaker-0.92.0-printf.diff of Package WindowMaker

--- src/misc.c
+++ src/misc.c
@@ -696,7 +696,7 @@
     olen = len+1;
     out = malloc(olen);
     if (!out) {
-        wwarning(_("out of memory during expansion of \"%s\""));
+        wwarning(_("out of memory during expansion of \"%s\""), cmdline);
         return NULL;
     }
     *out = 0;
@@ -785,7 +785,8 @@
                     olen += slen;
                     nout = realloc(out,olen);
                     if (!nout) {
-                        wwarning(_("out of memory during expansion of \"%a\""));
+                        wwarning(_("out of memory during expansion of \"%a\""),
+					user_input);
                         goto error;
                     }
                     out = nout;
@@ -835,7 +836,8 @@
                 olen += slen;
                 nout = realloc(out,olen);
                 if (!nout) {
-                    wwarning(_("out of memory during expansion of \"%s\""));
+                    wwarning(_("out of memory during expansion of \"%s\""),
+				    selection);
                     goto error;
                 }
                 out = nout;
openSUSE Build Service is sponsored by