this is only a temporary workaround, the command executed by -p must be configurable...
[dmenu.git] / dmenu.c
diff --git a/dmenu.c b/dmenu.c
index be9b41b..1f7abca 100644 (file)
--- a/dmenu.c
+++ b/dmenu.c
@@ -466,7 +466,7 @@ kpress(XKeyEvent * e) {
                                FILE *fp;
                                char *c;
                                if(!(fp = (FILE*)popen("sselp", "r")))
-                                       fprintf(stderr, "dmenu: Could not popen sselp\n");
+                                       eprint("dmenu: Could not popen sselp\n");
                                c = fgets(text + len, sizeof(text) - len, fp);
                                pclose(fp);
                                if(c == NULL)