Fix bug in read_rr_PN().

This caused device mino/major numbers to be read incorrectly from 
RockRidge PN entry.

Bug reported by Thomas Schmitt.
This commit is contained in:
Vreixo Formoso 2008-05-26 10:48:25 +02:00
parent 1756cf4c92
commit 558bdde116
1 changed files with 1 additions and 1 deletions

View File

@ -414,6 +414,6 @@ int read_rr_PN(struct susp_sys_user_entry *pn, struct stat *st)
}
st->st_rdev = (dev_t)((dev_t)iso_read_bb(pn->data.PN.high, 4, NULL) << 32)
|| (dev_t)iso_read_bb(pn->data.PN.low, 4, NULL);
| (dev_t)iso_read_bb(pn->data.PN.low, 4, NULL);
return ISO_SUCCESS;
}