summaryrefslogtreecommitdiffstats
path: root/utils/statd/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/statd/notify.c')
-rw-r--r--utils/statd/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/statd/notify.c b/utils/statd/notify.c
index 89d2946..c3b4ca5 100644
--- a/utils/statd/notify.c
+++ b/utils/statd/notify.c
@@ -55,7 +55,7 @@ notify_hosts(void)
char *fname;
fname=xmalloc(strlen(SM_BAK_DIR)+sizeof(de->d_name)+2);
dprintf(L_DEBUG, "We're on our own notify list?!?");
- sprintf(fname, SM_BAK_DIR "/%s", de->d_name);
+ sprintf(fname, "%s/%s", SM_BAK_DIR, de->d_name);
if (unlink(fname))
log(L_ERROR, "unlink(%s): %s",
fname, strerror(errno));