diff options
Diffstat (limited to 'src/archives.c')
-rw-r--r-- | src/archives.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/archives.c b/src/archives.c index d5271107b..0ebb77d5e 100644 --- a/src/archives.c +++ b/src/archives.c @@ -1463,10 +1463,7 @@ archivefiles(const char *const *argv) for (ap = argv; *ap; ap++) { if (strchr(FIND_EXPRSTARTCHARS,(*ap)[0])) { - char *a; - - m_asprintf(&a, "./%s", *ap); - command_add_arg(&cmd, a); + command_add_arg(&cmd, str_fmt("./%s", *ap)); } else { command_add_arg(&cmd, (const char *)*ap); } |