Skip to content

Commit 851f271

Browse files
committed
CPU (NetBSD): fix typo
1 parent d3e40f6 commit 851f271

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/detection/cpu/cpu_nbsd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ static const char* detectCpuTemp(double* current)
2525
if (!array) return "No temp data found in root dictionary";
2626

2727
if (prop_array_count(array) != 2)
28-
return "Unexpect `xtemp0` data";
28+
return "Unexpected `xtemp0` data";
2929

3030
prop_dictionary_t dict = prop_array_get(array, 0);
3131
if (prop_object_type(dict) != PROP_TYPE_DICTIONARY)
32-
return "Unexpect `xtemp0[0]`";
32+
return "Unexpected `xtemp0[0]`";
3333

3434
int temp = 0; // in µK
3535
if (!prop_dictionary_get_int(dict, "cur-value", &temp))

0 commit comments

Comments
 (0)