Use PROGNAME

This commit is contained in:
Pierre Pronchery 2016-07-01 18:51:54 +02:00
parent fdeeec488a
commit 4066daa745

View File

@ -2975,7 +2975,7 @@ static int _refresh_loop_lookup(Desktop * desktop, char const * name)
/* error */ /* error */
static int _error(char const * message, int ret) static int _error(char const * message, int ret)
{ {
fputs("desktop: ", stderr); fputs(PROGNAME ": ", stderr);
perror(message); perror(message);
return ret; return ret;
} }