diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-07-30 12:56:51 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-09 09:34:54 +0200 |
commit | 0ef14adc1c724eee8d5f4db3d298786b209afaa5 (patch) | |
tree | b3ea62774a5ae0ee69b285f8def952197427178f /man/sd_machine_get_class.xml | |
parent | Fix output value of sd_seat_get_sessions() and drop FOREACH_WORD use (diff) | |
download | systemd-0ef14adc1c724eee8d5f4db3d298786b209afaa5.tar.xz systemd-0ef14adc1c724eee8d5f4db3d298786b209afaa5.zip |
Rewrite sd_machine_get_ifindices() to avoid FOREACH_WORD()
If we fail to parse the index, the failure is propogated as -EUNCLEAN.
(-EINVAL would be confused with invalid args to the function itself.)
Diffstat (limited to 'man/sd_machine_get_class.xml')
-rw-r--r-- | man/sd_machine_get_class.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/sd_machine_get_class.xml b/man/sd_machine_get_class.xml index cd259c863f..0a0d601899 100644 --- a/man/sd_machine_get_class.xml +++ b/man/sd_machine_get_class.xml @@ -35,7 +35,7 @@ <funcprototype> <funcdef>int <function>sd_machine_get_ifindices</function></funcdef> <paramdef>const char* <parameter>machine</parameter></paramdef> - <paramdef>int **<parameter>ifindices</parameter></paramdef> + <paramdef>int **<parameter>ret_ifindices</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> |