]> git.ipfire.org Git - pakfire.git/commitdiff
archive: Some cosmetic changes when extracting files
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Apr 2021 11:30:41 +0000 (11:30 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Apr 2021 11:30:41 +0000 (11:30 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/archive.c

index 7e809cbc828b0581ac3da48d1509cc82b51c10d6..f93963471df320407f6f8ad330fec342948ecbbc 100644 (file)
@@ -814,7 +814,7 @@ static int pakfire_archive_extract_entry(PakfireArchive archive,
        // Fetch the paths
        const char* path = archive_entry_pathname(entry);
 
-       DEBUG(archive->pakfire, "Extracting %s\n", path);
+       DEBUG(archive->pakfire, "Extracting /%s\n", path);
 
        // Prepend the prefix
        if (extractor->prefix) {
@@ -838,7 +838,7 @@ static int pakfire_archive_extract_entry(PakfireArchive archive,
        // Create file & extract payload
        r = archive_read_extract2(a, entry, extractor->writer);
        if (r != ARCHIVE_OK) {
-               ERROR(archive->pakfire, "Could not extract file /%s: %s\n",
+               ERROR(archive->pakfire, "Could not extract file %s: %s\n",
                        path, archive_error_string(extractor->writer));
                goto ERROR;
        }