summaryrefslogtreecommitdiff
path: root/man/sd_machine_get_class.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-30 12:56:51 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-09 09:34:54 +0200
commit0ef14adc1c724eee8d5f4db3d298786b209afaa5 (patch)
treeb3ea62774a5ae0ee69b285f8def952197427178f /man/sd_machine_get_class.xml
parentaa3b40c3f98f28312967b3f9ba1f353efd9c9873 (diff)
downloadsystemd-0ef14adc1c724eee8d5f4db3d298786b209afaa5.tar.gz
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.xml2
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>