summaryrefslogtreecommitdiff
path: root/libexec/xtend/xtend.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/xtend/xtend.c')
-rw-r--r--libexec/xtend/xtend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/xtend/xtend.c b/libexec/xtend/xtend.c
index 9e5ed4f4f98bb..62f76d1af7468 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;