summaryrefslogtreecommitdiffstats
path: root/tapset/vfs.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/vfs.stp')
-rw-r--r--tapset/vfs.stp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tapset/vfs.stp b/tapset/vfs.stp
index eecc87f0..6b66624e 100644
--- a/tapset/vfs.stp
+++ b/tapset/vfs.stp
@@ -37,8 +37,7 @@ function __find_bdevname(dev, bdev)
function ppos_pos:long (ppos:long) %{ /* pure */
loff_t *ppos = (loff_t *)(long)THIS->ppos;
- /* XXX: but see bug #3079 */
- THIS->__retvalue = (int64_t) deref (sizeof(loff_t), ppos);
+ THIS->__retvalue = (int64_t) kread(ppos);
if (0) {
deref_fault:
CONTEXT->last_error = "pointer dereference fault";