aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index d28f757..720fb32 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1618,7 +1618,7 @@ Pkg_epoch(pkg)
RETVAL = 0;
}
} else if (pkg->h) {
- RETVAL = get_int(pkg->h, RPMTAG_SERIAL);
+ RETVAL = get_int(pkg->h, RPMTAG_EPOCH);
} else RETVAL = 0;
OUTPUT:
RETVAL