path: log two errors as application bugs
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 12 Jun 2014 01:48:13 +0000 (11:48 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 13 Jun 2014 01:48:14 +0000 (11:48 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/path.c

index 80d46337da5c8471219cb7c36b41838dccdaa439..27e5ad63901a6cf5cca794bcbb3ad5454fd1be5f 100644 (file)
@@ -264,7 +264,7 @@ libinput_path_add_device(struct libinput *libinput,
        struct libinput_device *device;
 
        if (libinput->interface_backend != &interface_backend) {
-               log_error("Mismatching backends. This is an application bug.\n");
+               log_bug_client("Mismatching backends.\n");
                return NULL;
        }
 
@@ -301,7 +301,7 @@ libinput_path_remove_device(struct libinput_device *device)
        struct path_device *dev;
 
        if (libinput->interface_backend != &interface_backend) {
-               log_error("Mismatching backends. This is an application bug.\n");
+               log_bug_client("Mismatching backends.\n");
                return;
        }