RE: [PATCH] lscpu: require procfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Davidlohr Bueso wrote:
> int main(int argc, char *argv[])
> {
> 	struct lscpu_desc _desc, *desc = &_desc;
> @@ -938,6 +947,8 @@ int main(int argc, char *argv[])
>  		{ NULL,		0, 0, 0 }
> 	};
>  
> +	has_procfs();
> +
>  	setlocale(LC_ALL, "");
>  	bindtextdomain(PACKAGE, LOCALEDIR);
>  	textdomain(PACKAGE);

shouldn't it be called *after* text initialisation stuff
... to get a localized error message?

Have a nice day,
Berny--
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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux