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

Up marlin: edit last patch (again)
author Yuri Pourre <yuripourre@gmail.com>
date Mon Mar 02 11:31:13 2015 -0300 (2015-03-02)
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	Mon Mar 02 11:31:13 2015 -0300
     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);