[SLOF] [PATCH] virtio: Fix stack comment of virtio-blk-read

Thomas Huth thuth at redhat.com
Wed Nov 9 21:32:18 AEDT 2016


The real parameters differ from the current stack comment.

Signed-off-by: Thomas Huth <thuth at redhat.com>
---
 lib/libvirtio/virtio.code | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libvirtio/virtio.code b/lib/libvirtio/virtio.code
index 5cfffcc..971a3cf 100644
--- a/lib/libvirtio/virtio.code
+++ b/lib/libvirtio/virtio.code
@@ -64,7 +64,7 @@ PRIM(virtio_X2d_blk_X2d_shutdown)
 	virtioblk_shutdown(dev);
 MIRP
 
-// : virtio-blk-read ( dev blkno cnt reg -- #read )
+// : virtio-blk-read ( buf blkno cnt dev -- #read )
 PRIM(virtio_X2d_blk_X2d_read)
 	void *dev = TOS.a; POP;
 	long cnt = TOS.n; POP;
-- 
1.8.3.1



More information about the SLOF mailing list