placate gcc 8.0.1 sprintf overflow warnings in config tools

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-04-05 15:21:34 +02:00
parent 21b7f1b6b6
commit d878ccca9c

View File

@ -334,7 +334,9 @@ int conf_write(const char *name)
struct symbol *sym; struct symbol *sym;
struct menu *menu; struct menu *menu;
const char *basename; const char *basename;
char dirname[128], tmpname[128], newname[128]; char dirname[128];
char tmpname[256];
char newname[256];
int type, l; int type, l;
const char *str; const char *str;
time_t now; time_t now;