diff options
author | Thomas Haller <thaller@redhat.com> | 2021-08-09 14:54:17 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-08-11 14:17:25 +0200 |
commit | f5dbf476e306079dce64c109cd50c39d3a8821ca (patch) | |
tree | 7b22f8c6e78ce6ed1dc83ac97f89f393d0972ab6 /src/core/nm-policy.c | |
parent | ae117c588df4bbfaa886600eeec0172e8dc3c7bf (diff) | |
download | NetworkManager-f5dbf476e306079dce64c109cd50c39d3a8821ca.tar.gz |
core: rename to_str() methods to to_string()
It's more common to name the to-string method *_to_string(). Rename.
Diffstat (limited to 'src/core/nm-policy.c')
-rw-r--r-- | src/core/nm-policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nm-policy.c b/src/core/nm-policy.c index d62a9ed07c..e85863611a 100644 --- a/src/core/nm-policy.c +++ b/src/core/nm-policy.c @@ -2059,7 +2059,7 @@ device_state_changed(NMDevice * device, _LOGD(LOGD_DEVICE, "blocking autoconnect of connection '%s': %s", nm_settings_connection_get_id(sett_conn), - NM_UTILS_LOOKUP_STR_A(nm_device_state_reason_to_str, + NM_UTILS_LOOKUP_STR_A(nm_device_state_reason_to_string, nm_device_state_reason_check(reason))); nm_settings_connection_autoconnect_blocked_reason_set(sett_conn, blocked_reason, |