diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2013-06-10 09:51:25 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2013-06-13 10:05:18 +0200 |
commit | 816ac9ee70d66d74686a84a1ff4eddfb691f5ce3 (patch) | |
tree | 4be5169fed0a8139515c9e0baf97753026eb248a /libnm-util/nm-setting-ppp.c | |
parent | 2cb9bc9bda7284ca811328bf2a1ebc9a2b1386bb (diff) | |
download | NetworkManager-816ac9ee70d66d74686a84a1ff4eddfb691f5ce3.tar.gz |
libnm-util: prefix errors with 'setting.property' instead of 'property' only
Diffstat (limited to 'libnm-util/nm-setting-ppp.c')
-rw-r--r-- | libnm-util/nm-setting-ppp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm-util/nm-setting-ppp.c b/libnm-util/nm-setting-ppp.c index 70d46db8b1..892a32051f 100644 --- a/libnm-util/nm-setting-ppp.c +++ b/libnm-util/nm-setting-ppp.c @@ -389,7 +389,7 @@ verify (NMSetting *setting, GSList *all_settings, GError **error) NM_SETTING_PPP_ERROR_INVALID_PROPERTY, _("'%d' is out of valid range <128-16384>"), priv->mru); - g_prefix_error (error, "%s: ", NM_SETTING_PPP_MRU); + g_prefix_error (error, "%s.%s: ", NM_SETTING_PPP_SETTING_NAME, NM_SETTING_PPP_MRU); return FALSE; } } @@ -402,7 +402,7 @@ verify (NMSetting *setting, GSList *all_settings, GError **error) NM_SETTING_PPP_ERROR_INVALID_PROPERTY, _("setting this property requires non-zero '%s' property"), NM_SETTING_PPP_LCP_ECHO_INTERVAL); - g_prefix_error (error, "%s: ", NM_SETTING_PPP_LCP_ECHO_FAILURE); + g_prefix_error (error, "%s.%s: ", NM_SETTING_PPP_SETTING_NAME, NM_SETTING_PPP_LCP_ECHO_FAILURE); return FALSE; } } |