mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 05:58:01 +02:00
trivial: platform: add string for NM_PLATFORM_ERROR_NOT_SLAVE
This commit is contained in:
parent
ebf2481b6b
commit
8489994eb0
1 changed files with 2 additions and 0 deletions
|
|
@ -175,6 +175,8 @@ nm_platform_get_error_msg (void)
|
||||||
return "object not found";
|
return "object not found";
|
||||||
case NM_PLATFORM_ERROR_EXISTS:
|
case NM_PLATFORM_ERROR_EXISTS:
|
||||||
return "object already exists";
|
return "object already exists";
|
||||||
|
case NM_PLATFORM_ERROR_NOT_SLAVE:
|
||||||
|
return "link not a slave";
|
||||||
default:
|
default:
|
||||||
return "invalid error number";
|
return "invalid error number";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue