]> pd.if.org Git - zpackage/commitdiff
fix path display in show note
authorNathan Wagner <nw@hydaspes.if.org>
Sat, 23 Feb 2019 15:25:24 +0000 (15:25 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sat, 23 Feb 2019 15:25:24 +0000 (15:25 +0000)
src/note.c

index d6c9df1e5ffff8eccd7087481f93887a80f54149..3d44803f9afb80a5ecbaf3a8805ab0121669ff8e 100644 (file)
@@ -19,7 +19,7 @@ void show_note(struct zpm_note *n) {
                printf("Package: %s\n", n->pkgid);
        }
        if (n->path) {
-               printf("Path: %s\n", n->pkgid);
+               printf("Path: %s\n", n->path);
        }
        if (n->file) {
                printf("Hash: %s\n", n->file);