print prefix in error message
authorroot <devnull@localhost>
Thu, 18 Jul 1996 16:07:33 +0000 (16:07 +0000)
committerroot <devnull@localhost>
Thu, 18 Jul 1996 16:07:33 +0000 (16:07 +0000)
CVS patchset: 889
CVS date: 1996/07/18 16:07:33

build/files.c

index 095ce1a..df7a72d 100644 (file)
@@ -521,7 +521,8 @@ static int add_file(struct file_entry **festack, const char *name,
            prefixTest++;
        }
        if (*prefixPtr) {
-           error(RPMERR_BADSPEC, "File doesn't match prefix: %s", name);
+           error(RPMERR_BADSPEC, "File doesn't match prefix (%s): %s",
+                 prefix, name);
            return 0;
        }
     }