mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
main: spell out the most common reason for setlocale() to fail
This commit is contained in:
parent
6d351ffc43
commit
cee0c5423a
1 changed files with 2 additions and 1 deletions
3
main.c
3
main.c
|
|
@ -425,7 +425,8 @@ main(int argc, char *const *argv)
|
||||||
* that does not exist on this system, then the above call may return
|
* that does not exist on this system, then the above call may return
|
||||||
* NULL. We should just continue with the fallback method below.
|
* NULL. We should just continue with the fallback method below.
|
||||||
*/
|
*/
|
||||||
LOG_ERR("setlocale() failed");
|
LOG_ERR("setlocale() failed. The most common cause is that the "
|
||||||
|
"configured locale is not available, or has been misspelled");
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_INFO("locale: %s", locale != NULL ? locale : "<invalid>");
|
LOG_INFO("locale: %s", locale != NULL ? locale : "<invalid>");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue