* src/metalink.c (badhash_suffix): Fix quoting

This commit is contained in:
Tim Rühsen 2016-08-04 13:09:28 +02:00
parent 943a6d585f
commit e3fb4c3859

View File

@ -566,7 +566,8 @@ badhash_suffix (char *name)
bhash = concat_strings (name, ".badhash", (char *)0);
uname = unique_name (bhash, false);
logprintf (LOG_VERBOSE, _("Renaming %s to %s.\n"), name, uname);
logprintf (LOG_VERBOSE, _("Renaming %s to %s.\n"),
quote_n (0, name), quote_n (1, uname));
if (link (name, uname))
logprintf (LOG_NOTQUIET, "link: %s\n", strerror (errno));