mirror of
https://github.com/moparisthebest/pacman
synced 2024-10-31 15:45:03 -04:00
Pluralize malloc failure string
Not particularly useful in English (will always be plural), but useful in languages that have multiple plural forms. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
501242a35b
commit
29d4dcf767
@ -95,7 +95,9 @@ config_t *config_new(void)
|
|||||||
config_t *newconfig = calloc(1, sizeof(config_t));
|
config_t *newconfig = calloc(1, sizeof(config_t));
|
||||||
if(!newconfig) {
|
if(!newconfig) {
|
||||||
pm_printf(ALPM_LOG_ERROR,
|
pm_printf(ALPM_LOG_ERROR,
|
||||||
_("malloc failure: could not allocate %zd bytes\n"), sizeof(config_t));
|
_n("malloc failure: could not allocate %zd byte\n",
|
||||||
|
"malloc failure: could not allocate %zd bytes\n", sizeof(config_t)),
|
||||||
|
sizeof(config_t));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
/* defaults which may get overridden later */
|
/* defaults which may get overridden later */
|
||||||
|
Loading…
Reference in New Issue
Block a user