wok diff hardinfo/stuff/languages.patch @ rev 9032

squid-custom-errors: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 22:35:38 2011 +0100 (2011-03-03)
parents c5069bc9ff25
children
line diff
     1.1 --- a/hardinfo/stuff/languages.patch	Sat Apr 26 09:24:27 2008 +0000
     1.2 +++ b/hardinfo/stuff/languages.patch	Thu Mar 03 22:35:38 2011 +0100
     1.3 @@ -17,4 +17,4 @@
     1.4  +	if (last) buf[0] = 0;
     1.5   	if (!strncmp(buf, "locale:", 7)) {
     1.6   	    sscanf(buf, "locale: %s", name);
     1.7 - 	    fgets(buf, 128, locale);
     1.8 +	    (void)fgets(buf, 128, locale);