From 558bdde116c5a4daf093fb0efd2e5b2241b5e1c3 Mon Sep 17 00:00:00 2001 From: Vreixo Formoso Date: Mon, 26 May 2008 10:48:25 +0200 Subject: [PATCH] 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. --- libisofs/rockridge_read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/rockridge_read.c b/libisofs/rockridge_read.c index 02dbc86..05b5b4f 100644 --- a/libisofs/rockridge_read.c +++ b/libisofs/rockridge_read.c @@ -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; }