Skip to content

Commit 8285b06

Browse files
committed
API: the non-printable character warning applies to info key names too
Signed-off-by: Brice Goglin <[email protected]>
1 parent 0c40029 commit 8285b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/hwloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ hwloc_obj_get_info_by_name(hwloc_obj_t obj, const char *name) __hwloc_attribute_
11511151
* graphical output by using "lstopoStyle" as a name and "Background=#rrggbb"
11521152
* as a value. See CUSTOM COLORS in the lstopo(1) manpage for details.
11531153
*
1154-
* \note If \p value contains some non-printable characters, they will
1154+
* \note If \p name or \p value contain some non-printable characters, they will
11551155
* be dropped when exporting to XML, see hwloc_topology_export_xml() in hwloc/export.h.
11561156
*/
11571157
HWLOC_DECLSPEC int hwloc_obj_add_info(hwloc_obj_t obj, const char *name, const char *value);

0 commit comments

Comments
 (0)