diff options
author | Richard Hughes <richard@hughsie.com> | 2008-08-26 16:53:16 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2008-08-26 16:53:16 +0100 |
commit | 57ae3ac178d8fc961357328f09bade6b1722aede (patch) | |
tree | 2cd7d036bff71524047a4ddbfebbc13488db5e7a /src | |
parent | b53b7dadcf8856b5a4c3331e85207f7c0a2417e0 (diff) |
trivial fixup
Diffstat (limited to 'src')
-rw-r--r-- | src/dkp-device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dkp-device.c b/src/dkp-device.c index 3dc27d8..6008ba9 100644 --- a/src/dkp-device.c +++ b/src/dkp-device.c @@ -380,8 +380,8 @@ dkp_device_get_history (DkpDevice *device, const gchar *type, guint timespan, DB g_return_val_if_fail (DKP_IS_DEVICE (device), FALSE); /* doesn't even try to support this */ - if (klass->get_stats == NULL) { - error = g_error_new (DKP_DAEMON_ERROR, DKP_DAEMON_ERROR_GENERAL, "device does not support getting stats"); + if (klass->get_history == NULL) { + error = g_error_new (DKP_DAEMON_ERROR, DKP_DAEMON_ERROR_GENERAL, "device does not support getting history"); dbus_g_method_return_error (context, error); goto out; } |