diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-18 17:52:56 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-18 17:52:56 +0200 |
commit | ef2c9513433ce9371d160160183c36d48affaec8 (patch) | |
tree | 59ae6204d14598de4987d80034c894613f816db9 | |
parent | aa8fafca9e62ea9c95ac6662eef85819cbb6e5c0 (diff) | |
download | upower-ef2c9513433ce9371d160160183c36d48affaec8.tar.gz |
daemon: Differentiate 2 warnings
No way to know which one was being called otherwise
-rw-r--r-- | src/up-daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/up-daemon.c b/src/up-daemon.c index 799e651..cf42d13 100644 --- a/src/up-daemon.c +++ b/src/up-daemon.c @@ -949,7 +949,7 @@ up_daemon_device_added_cb (UpBackend *backend, GObject *native, UpDevice *device /* don't crash the session */ if (object_path == NULL) { - g_warning ("INTERNAL STATE CORRUPT: not sending NULL, native:%p, device:%p", native, device); + g_warning ("INTERNAL STATE CORRUPT (device-added): not sending NULL, native:%p, device:%p", native, device); return; } g_signal_emit (daemon, signals[SIGNAL_DEVICE_ADDED], 0, object_path); @@ -985,7 +985,7 @@ up_daemon_device_removed_cb (UpBackend *backend, GObject *native, UpDevice *devi /* don't crash the session */ if (object_path == NULL) { - g_warning ("INTERNAL STATE CORRUPT: not sending NULL, native:%p, device:%p", native, device); + g_warning ("INTERNAL STATE CORRUPT (device-removed): not sending NULL, native:%p, device:%p", native, device); return; } g_signal_emit (daemon, signals[SIGNAL_DEVICE_REMOVED], 0, object_path); |