summaryrefslogtreecommitdiff
path: root/doc/spa
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2020-06-16 12:28:22 +0200
committerWim Taymans <wtaymans@redhat.com>2020-06-16 12:28:22 +0200
commitf2245ecbb14113ce4495577909353b767bb5aa22 (patch)
tree93d8825d3e5283d4f8dddd1601ebbffaa0a018f7 /doc/spa
parentcd7a56a71c76e6a4d4158bf739fd61644d325584 (diff)
doc: small fix
Diffstat (limited to 'doc/spa')
-rw-r--r--doc/spa/design.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/spa/design.md b/doc/spa/design.md
index 10e5e22c..173b9b49 100644
--- a/doc/spa/design.md
+++ b/doc/spa/design.md
@@ -189,7 +189,7 @@ If this method succeeds, you can cast the `iface` variable to
`struct spa_log *` and start using the log interface methods.
```c
-struct spa_log *log;
+struct spa_log *log = iface;
spa_log_warn(log, "Hello World!\n");
```