wok diff hardinfo/stuff/languages.patch @ rev 9658
busybox: ensure $stuff is set (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 30 22:04:35 2011 +0200 (2011-04-30) |
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 Sat Apr 30 22:04:35 2011 +0200 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);