summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/rpki-client/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c
index 67a76782388..d75bec349f7 100644
--- a/usr.sbin/rpki-client/main.c
+++ b/usr.sbin/rpki-client/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.2 2019/06/17 15:04:59 deraadt Exp $ */
+/* $Id: main.c,v 1.3 2019/06/18 14:55:14 deraadt Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -681,10 +681,10 @@ proc_rsync(const char *prog, int fd, int noop)
err(EXIT_FAILURE, "pledge");
i = 0;
args[i++] = (char *)prog;
- args[i++] = strdup("-r");
- args[i++] = strdup("-l");
- args[i++] = strdup("-t");
- args[i++] = strdup("--delete");
+ args[i++] = "-r";
+ args[i++] = "-l";
+ args[i++] = "-t";
+ args[i++] = "--delete";
args[i++] = uri;
args[i++] = dst;
args[i] = NULL;