summaryrefslogtreecommitdiff
path: root/src/dkp-wup.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2008-08-22 10:23:43 +0100
committerRichard Hughes <richard@hughsie.com>2008-08-22 10:23:43 +0100
commit15a2a3562537bc2f24dfc07ae811ee6da098f5f8 (patch)
tree906d04c05fe8f6185239acb04426b9decd8b5c6f /src/dkp-wup.c
parenta2ead86ec4723cec39317c5ffb088f4e0c89fd54 (diff)
add a MONITOR type, and make the printing code a little mor sane
Diffstat (limited to 'src/dkp-wup.c')
-rw-r--r--src/dkp-wup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dkp-wup.c b/src/dkp-wup.c
index 8a2baef..39ed373 100644
--- a/src/dkp-wup.c
+++ b/src/dkp-wup.c
@@ -321,7 +321,7 @@ dkp_wup_coldplug (DkpDevice *device)
g_free (data);
/* hardcode some values */
- obj->type = DKP_DEVICE_TYPE_UPS;
+ obj->type = DKP_DEVICE_TYPE_MONITOR;
obj->battery_is_rechargeable = FALSE;
obj->power_supply = FALSE;
obj->battery_is_present = FALSE;