File WindowMaker-0.92.0-printf.diff of Package WindowMaker

--- src/misc.c
+++ src/misc.c
@@ -733,7 +733,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;
@@ -821,7 +821,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;
@@ -871,7 +872,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