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

Up: pcre, pcre-dev to 8.10.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Sep 22 14:53:48 2010 +0000 (2010-09-22)
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	Wed Sep 22 14:53:48 2010 +0000
     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);