mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +00:00
Do USA_RESIDENT properly.
This commit is contained in:
parent
60823f50c0
commit
b9452ccfa1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57409
@ -374,7 +374,7 @@ configMake_conf(char *config)
|
||||
|
||||
if (!file_readable(config)) {
|
||||
char *line = malloc(21);
|
||||
sprintf(line, "USA_RESIDENT=\"%s\"\n", USAResident ? "YES" : "NO");
|
||||
sprintf(line, "USA_RESIDENT=%s\n", USAResident ? "YES" : "NO");
|
||||
lines[0] = line;
|
||||
nlines = 1;
|
||||
}
|
||||
|
@ -374,7 +374,7 @@ configMake_conf(char *config)
|
||||
|
||||
if (!file_readable(config)) {
|
||||
char *line = malloc(21);
|
||||
sprintf(line, "USA_RESIDENT=\"%s\"\n", USAResident ? "YES" : "NO");
|
||||
sprintf(line, "USA_RESIDENT=%s\n", USAResident ? "YES" : "NO");
|
||||
lines[0] = line;
|
||||
nlines = 1;
|
||||
}
|
||||
|
@ -374,7 +374,7 @@ configMake_conf(char *config)
|
||||
|
||||
if (!file_readable(config)) {
|
||||
char *line = malloc(21);
|
||||
sprintf(line, "USA_RESIDENT=\"%s\"\n", USAResident ? "YES" : "NO");
|
||||
sprintf(line, "USA_RESIDENT=%s\n", USAResident ? "YES" : "NO");
|
||||
lines[0] = line;
|
||||
nlines = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user