summaryrefslogtreecommitdiffstats
path: root/usr.bin/rdist/docmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rdist/docmd.c')
-rw-r--r--usr.bin/rdist/docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/rdist/docmd.c b/usr.bin/rdist/docmd.c
index 7081548..a56a163 100644
--- a/usr.bin/rdist/docmd.c
+++ b/usr.bin/rdist/docmd.c
@@ -479,7 +479,7 @@ cmptime(name)
* first time cmptime() is called?
*/
if (tp == NULL) {
- if (exptilde(target, name) == NULL)
+ if (exptilde(target, name, sizeof(target)) == NULL)
return;
tp = name = target;
while (*tp)
OpenPOWER on IntegriCloud