aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2019-10-11 13:43:41 +0200
committerMichael S. Tsirkin <mst@redhat.com>2019-10-12 12:57:24 -0400
commit1e30753d53d222fbe955f0643583d756105d557e (patch)
treee95d53a865d15d108950810ae27f3631e07118e3
parent56e5599069cd084e3a2792566d07b566be495494 (diff)
downloadvirtio-text-1e30753d53d222fbe955f0643583d756105d557e.tar.gz
Fix ^= in example code
Trying to escaping ^ here only leaves the backslash in the output. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
-rw-r--r--packed-ring.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/packed-ring.tex b/packed-ring.tex
index caf47a5..ea92543 100644
--- a/packed-ring.tex
+++ b/packed-ring.tex
@@ -634,7 +634,7 @@ for (each buffer element b) {
if (vq->next_avail >= vq->size) {
vq->next_avail = 0;
- vq->avail_wrap_count \^= 1;
+ vq->avail_wrap_count ^= 1;
}
}
vq->sgs[id] = sgs;
@@ -727,7 +727,7 @@ for (;;) {
vq->next_used += sgs;
if (vq->next_used >= vq->size) {
vq->next_used -= vq->size;
- vq->used_wrap_count \^= 1;
+ vq->used_wrap_count ^= 1;
}
free_id(vq, id);