diff options
author | mmason <mmason> | 2007-01-13 19:05:07 +0000 |
---|---|---|
committer | mmason <mmason> | 2007-01-13 19:05:07 +0000 |
commit | 30cd73d30479b05ae2511a68fb53bae88e7f478e (patch) | |
tree | 36ef82a14a334cf3dcd792641f87f446d160cfe5 /tapset/ioblock.stp | |
parent | 929dfe691b8285651388ebaa44e2cd233917e194 (diff) | |
download | systemtap-steved-30cd73d30479b05ae2511a68fb53bae88e7f478e.tar.gz systemtap-steved-30cd73d30479b05ae2511a68fb53bae88e7f478e.tar.xz systemtap-steved-30cd73d30479b05ae2511a68fb53bae88e7f478e.zip |
Fix for ioblocktest.exp test (PR 3867)
Diffstat (limited to 'tapset/ioblock.stp')
-rw-r--r-- | tapset/ioblock.stp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/ioblock.stp b/tapset/ioblock.stp index 3590f750..a9be060b 100644 --- a/tapset/ioblock.stp +++ b/tapset/ioblock.stp @@ -49,7 +49,7 @@ end: ; %} /* returns 0 for read, 1 for write */ -function __bio_direction:long(rw:long) +function bio_rw_num:long(rw:long) %{ long rw = (long)THIS->rw; THIS->__retvalue = (rw & (1 << BIO_RW)); @@ -58,7 +58,7 @@ function __bio_direction:long(rw:long) /* returns R for read, W for write */ function bio_rw_str(rw) { - return __bio_direction(rw) == BIO_READ ? "R" : "W" + return bio_rw_num(rw) == BIO_READ ? "R" : "W" } /* returns start sector */ |