print prefix in error message

CVS patchset: 889
CVS date: 1996/07/18 16:07:33
This commit is contained in:
root 1996-07-18 16:07:33 +00:00
parent f00ea40a2c
commit 575b250471
1 changed files with 2 additions and 1 deletions

View 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;
}
}