Fix kmscon_console_unref name
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 20 Nov 2011 14:47:23 +0000 (15:47 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 20 Nov 2011 14:47:23 +0000 (15:47 +0100)
The name of the unref function was wrong. Fix this from kmscon_con_unref to
kmscon_console_unref.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/console.c

index 1273bdd..5a44bba 100644 (file)
@@ -55,7 +55,7 @@ void kmscon_console_ref(struct kmscon_console *con)
        ++con->ref;
 }
 
-void kmscon_con_unref(struct kmscon_console *con)
+void kmscon_console_unref(struct kmscon_console *con)
 {
        if (!con || !con->ref)
                return;