diff options
author | imp <imp@FreeBSD.org> | 2002-03-18 16:10:00 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-18 16:10:00 +0000 |
commit | d3aae3b22fc432c2121592d4545fae748473d21a (patch) | |
tree | 41ad05899b765278b60f760ef4ddb36736672d8d /libexec | |
parent | 750b21097fc062e7381c1c5c39945acf98da1603 (diff) | |
download | FreeBSD-src-d3aae3b22fc432c2121592d4545fae748473d21a.zip FreeBSD-src-d3aae3b22fc432c2121592d4545fae748473d21a.tar.gz |
Add missing commas. At least I didn't miss a period.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/xtend/user.c | 2 | ||||
-rw-r--r-- | libexec/xtend/xtend.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libexec/xtend/user.c b/libexec/xtend/user.c index e10445e..b2a239a 100644 --- a/libexec/xtend/user.c +++ b/libexec/xtend/user.c @@ -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++) { diff --git a/libexec/xtend/xtend.c b/libexec/xtend/xtend.c index 9e5ed4f..62f76d1 100644 --- a/libexec/xtend/xtend.c +++ b/libexec/xtend/xtend.c @@ -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; |