diff --git a/lib/access.h b/lib/access.h index 57897694..12c88f7b 100644 --- a/lib/access.h +++ b/lib/access.h @@ -50,7 +50,7 @@ extern const sensors_chip_feature *sensors_lookup_feature_name extern int sensors_substitute_busses(void); -/* Parse an i2c bus name into its components. Returns 0 on succes, a value from +/* Parse an i2c bus name into its components. Returns 0 on success, a value from error.h on failure. */ extern int sensors_parse_i2cbus_name(const char *name, int *res); diff --git a/lib/libsensors.3 b/lib/libsensors.3 index 4ec46a40..feee366e 100644 --- a/lib/libsensors.3 +++ b/lib/libsensors.3 @@ -64,7 +64,7 @@ Clean-up function: You can't access anything after this, until the next sensors_ \fBint sensors_parse_chip_name(const char *orig_name, sensors_chip_name *res);\fP .br -Parse a chip name to the internal representation. Return 0 on succes, <0 on error. +Parse a chip name to the internal representation. Return 0 on success, <0 on error. \fBint sensors_match_chip(sensors_chip_name chip1, sensors_chip_name chip2);\fP