summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slideshow.c2
-rw-r--r--src/support.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/slideshow.c b/src/slideshow.c
index 2ec05a8..d62f780 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -353,8 +353,8 @@ feh_action_run(feh_file * file, char *action)
D_ENTER(4);
if (action)
{
- D(3, ("Running action %s\n", action));
char *sys;
+ D(3, ("Running action %s\n", action));
sys = feh_printf(action, file);
if (opt.verbose && !opt.list && !opt.customlist)
diff --git a/src/support.c b/src/support.c
index 7f38f27..91dbe23 100644
--- a/src/support.c
+++ b/src/support.c
@@ -233,7 +233,7 @@ feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,
char *path;
path = estrjoin("/", home, ".fehbg", NULL);
if ((fp = fopen(path, "w")) == NULL) {
- wprintf("Can't open %s for write", path);
+ weprintf("Can't open %s for write", path);
} else {
fprintf(fp, "%s\n", fehbg);
fclose(fp);