X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor-pkg-ubuntu.git;a=blobdiff_plain;f=tests%2Ftest_psensor_type_to_unit_str.c;h=981e90d91b459ca606ea54d3bd0a8c1c46e1ecfd;hp=ddd2abed752681d59d0aff4c5ad07936eb1decfd;hb=4c01ba89aac969b4c19190dd8f27329b5dd24a6e;hpb=2e68c12dc10ca8c06b03aad6b4e44144a9134cd5 diff --git a/tests/test_psensor_type_to_unit_str.c b/tests/test_psensor_type_to_unit_str.c index ddd2abe..981e90d 100644 --- a/tests/test_psensor_type_to_unit_str.c +++ b/tests/test_psensor_type_to_unit_str.c @@ -29,11 +29,11 @@ #include "../src/lib/psensor.h" static int -test_fct(unsigned int type, int use_celcius, const char *ref) +test_fct(unsigned int type, int use_celsius, const char *ref) { const char *u; - u = psensor_type_to_unit_str(type, use_celcius); + u = psensor_type_to_unit_str(type, use_celsius); if (strcmp(ref, u)) { fprintf(stderr, "returns: %s expected: %s\n", u, ref); return 0;