Add missing commas. At least I didn't miss a period.
This commit is contained in:
parent
7d1f1e9ca8
commit
58c804ff25
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92594
@ -89,7 +89,7 @@ user_command(void)
|
||||
fprintf(User, "OK\n");
|
||||
}
|
||||
} else if(!strcmp("dump\n", cmd)) {
|
||||
snprintf(dumppath, sizeof(dumppath), "%s/%s" X10DIR, X10DUMPNAME);
|
||||
snprintf(dumppath, sizeof(dumppath), "%s/%s", X10DIR, X10DUMPNAME);
|
||||
if((dumpf = fopen(dumppath, "w")) != NULL) {
|
||||
for(h = 0; h < 16; h++) {
|
||||
for(i = 0; i < 16; i++) {
|
||||
|
@ -126,7 +126,7 @@ main(int argc, char *argv[])
|
||||
errx(1, "can't create directory '%s'", X10DIR);
|
||||
}
|
||||
}
|
||||
snprintf(logpath, sizeof(logpath), "%s/%s" X10DIR, X10LOGNAME);
|
||||
snprintf(logpath, sizeof(logpath), "%s/%s", X10DIR, X10LOGNAME);
|
||||
if((Log = fopen(logpath, "a")) == NULL)
|
||||
errx(1, "can't open log file '%s'", logpath);
|
||||
chown(logpath, pw->pw_uid, gr->gr_gid);
|
||||
@ -363,7 +363,7 @@ dohup(void)
|
||||
|
||||
fprintf(Log, "%s: SIGHUP received, reopening Log\n", thedate());
|
||||
fclose(Log);
|
||||
snprintf(logpath, sizeof(logpath), "%s/%s" X10DIR, X10LOGNAME);
|
||||
snprintf(logpath, sizeof(logpath), "%s/%s", X10DIR, X10LOGNAME);
|
||||
if((Log = fopen(logpath, "a")) == NULL)
|
||||
errx(1, "can't open log file '%s'", logpath);
|
||||
hup_flag = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user