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 */
static int _error(char const * message, int ret)
{
fputs("desktop: ", stderr);
fputs(PROGNAME ": ", stderr);
perror(message);
return ret;
}