From f2245ecbb14113ce4495577909353b767bb5aa22 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 16 Jun 2020 12:28:22 +0200 Subject: [PATCH] doc: small fix --- doc/spa/design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/spa/design.md b/doc/spa/design.md index 10e5e22cf..173b9b490 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"); ```