mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Remove wsyserrorwithcode, rename wsyserror to werror
wsyserrorwithcode - Not used, no point either. wsyserror->werror - qualifying "error" with a "type" hardly makes sense if there are not at least two "type"s. There are not. Safe trip. Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
committed by
Carlos R. Mafra
parent
c5f5e0b9c0
commit
1f21919809
@@ -79,7 +79,7 @@ static char *username(void)
|
||||
|
||||
user = getpwuid(getuid());
|
||||
if (!user) {
|
||||
wsyserror(_("could not get password entry for UID %i"), getuid());
|
||||
werror(_("could not get password entry for UID %i"), getuid());
|
||||
return NULL;
|
||||
}
|
||||
if (!user->pw_name) {
|
||||
@@ -1013,7 +1013,7 @@ void SendHelperMessage(WScreen * scr, char type, int workspace, char *msg)
|
||||
strcpy(&buffer[i], msg);
|
||||
|
||||
if (write(scr->helper_fd, buffer, len + 4) < 0) {
|
||||
wsyserror(_("could not send message to background image helper"));
|
||||
werror(_("could not send message to background image helper"));
|
||||
}
|
||||
wfree(buffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user