]> pd.if.org Git - zpackage/blobdiff - src/note.c
fix path display in show note
[zpackage] / 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);