diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-11-23 12:36:47 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:25 +0100 |
commit | c58db4e015c1d6aeccccb167f7f2f68c211a3b86 (patch) | |
tree | fa5cdffcd6856ba236b8614349b1ee5714885242 /src/mm-port-probe.c | |
parent | e4d8c4ace72e72c53951f80792d852ff4b043329 (diff) |
core: start using our newly defined errors
Diffstat (limited to 'src/mm-port-probe.c')
-rw-r--r-- | src/mm-port-probe.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c index 06078bc6..ae0163eb 100644 --- a/src/mm-port-probe.c +++ b/src/mm-port-probe.c @@ -20,11 +20,9 @@ #include <string.h> #include <ModemManager.h> - #include <mm-errors-types.h> #include "mm-port-probe.h" -#include "mm-errors.h" #include "mm-log.h" #include "mm-at-serial-port.h" #include "mm-serial-port.h" @@ -633,8 +631,8 @@ serial_open_at (MMPortProbe *self) task, FALSE, FALSE, - g_error_new (MM_MODEM_ERROR, - MM_MODEM_ERROR_GENERAL, + g_error_new (MM_CORE_ERROR, + MM_CORE_ERROR_FAILED, "(%s) failed to open port after 4 tries", self->priv->name)); } else if (g_error_matches (error, |