diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-13 23:52:32 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-13 23:52:32 +0000 |
commit | a883fa4ceeab3ae5370359fd3048ba95474a17cd (patch) | |
tree | 271f08536ca807b7c84aac0d78c0d50aaf141887 /scripts/kconfig/gconf.c | |
parent | 9729e65706f46bd04d6e5946e20bd3c7ff4d7cc3 (diff) | |
download | busybox-w32-a883fa4ceeab3ae5370359fd3048ba95474a17cd.tar.gz busybox-w32-a883fa4ceeab3ae5370359fd3048ba95474a17cd.tar.bz2 busybox-w32-a883fa4ceeab3ae5370359fd3048ba95474a17cd.zip |
exterminate last bzero's
version bump to 1.3.0
Diffstat (limited to 'scripts/kconfig/gconf.c')
-rw-r--r-- | scripts/kconfig/gconf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index 5aabcec23..566e35e5c 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c | |||
@@ -84,7 +84,7 @@ const char *dbg_print_stype(int val) | |||
84 | { | 84 | { |
85 | static char buf[256]; | 85 | static char buf[256]; |
86 | 86 | ||
87 | bzero(buf, 256); | 87 | memset(buf, 0, 256); |
88 | 88 | ||
89 | if (val == S_UNKNOWN) | 89 | if (val == S_UNKNOWN) |
90 | strcpy(buf, "unknown"); | 90 | strcpy(buf, "unknown"); |
@@ -112,7 +112,7 @@ const char *dbg_print_flags(int val) | |||
112 | { | 112 | { |
113 | static char buf[256]; | 113 | static char buf[256]; |
114 | 114 | ||
115 | bzero(buf, 256); | 115 | memset(buf, 0, 256); |
116 | 116 | ||
117 | if (val & SYMBOL_YES) | 117 | if (val & SYMBOL_YES) |
118 | strcat(buf, "yes/"); | 118 | strcat(buf, "yes/"); |
@@ -155,7 +155,7 @@ const char *dbg_print_ptype(int val) | |||
155 | { | 155 | { |
156 | static char buf[256]; | 156 | static char buf[256]; |
157 | 157 | ||
158 | bzero(buf, 256); | 158 | memset(buf, 0, 256); |
159 | 159 | ||
160 | if (val == P_UNKNOWN) | 160 | if (val == P_UNKNOWN) |
161 | strcpy(buf, "unknown"); | 161 | strcpy(buf, "unknown"); |
@@ -1188,7 +1188,7 @@ static gchar **fill_row(struct menu *menu) | |||
1188 | 1188 | ||
1189 | for (i = COL_OPTION; i <= COL_COLOR; i++) | 1189 | for (i = COL_OPTION; i <= COL_COLOR; i++) |
1190 | g_free(row[i]); | 1190 | g_free(row[i]); |
1191 | bzero(row, sizeof(row)); | 1191 | memset(row, 0, sizeof(row)); |
1192 | 1192 | ||
1193 | row[COL_OPTION] = | 1193 | row[COL_OPTION] = |
1194 | g_strdup_printf("%s %s", menu_get_prompt(menu), | 1194 | g_strdup_printf("%s %s", menu_get_prompt(menu), |