On Mon, Oct 24, 2011 at 12:30:58PM +0200, Davidlohr Bueso wrote: > + [AS] = { "AS", N_("address space limit"), "bytes", RLIMIT_AS }, > + [CORE] = { "CORE", N_("max core file size"), "blocks", RLIMIT_CORE }, > + [CPU] = { "CPU", N_("CPU time"), "seconds", RLIMIT_CPU }, > + [DATA] = { "DATA", N_("max data size"), "bytes", RLIMIT_DATA }, > + [FSIZE] = { "FSIZE", N_("max file size"), "blocks", RLIMIT_FSIZE }, > + [LOCKS] = { "LOCKS", N_("max amount of file locks held"), NULL, RLIMIT_LOCKS }, > + [MEMLOCK] = { "MEMLOCK", N_("max locked-in-memory address space"), "kbytes", RLIMIT_MEMLOCK }, > + [MSGQUEUE] = { "MSGQUEUE", N_("max bytes in POSIX mqueues"), "bytes", RLIMIT_MSGQUEUE }, > + [NICE] = { "NICE", N_("max nice prio allowed to raise"), NULL, RLIMIT_NICE }, > + [NOFILE] = { "NOFILE", N_("max amount of open files"), NULL, RLIMIT_NOFILE }, > + [NPROC] = { "NPROC", N_("max number of processes"), NULL, RLIMIT_NPROC }, > + [RSS] = { "RSS", N_("max resident set size"), "pages", RLIMIT_RSS }, > + [RTPRIO] = { "RTPRIO", N_("max real-time priority"), NULL, RLIMIT_RTPRIO }, > + [RTTIME] = { "RTTIME", N_("timeout for real-time tasks"), "microsecs", RLIMIT_RTTIME }, > + [SIGPENDING] = { "SIGPENDING", N_("max amount of pending signals"), NULL, RLIMIT_SIGPENDING }, > + [STACK] = { "STACK", N_("max stack size"), "kbytes", RLIMIT_STACK } Why without N_() ? > + case COL_UNITS: > + rc = l->desc->unit ? asprintf(&str, "%s", l->desc->unit) : > + asprintf(&str, "------"); > + break; str = l->desc->unit ? xstrdup(_(l->desc->unit)) : NULL; NULL should not be a problem for tt_* functions. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html