Skip to content

Commit

Permalink
doc: Fix typo in constant name
Browse files Browse the repository at this point in the history
Fixes: 8cffc33 ("doc: Document TEST macro and state TST_RET/ERR rule LTP-002")
Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Feb 19, 2024
1 parent 23ec4f1 commit 631b5ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/C-Test-API.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ if (TST_RET > -1) {
-------------------------------------------------------------------------------

The +TEST+ macro sets +TST_RET+ to its argument's return value and +TST_ERR+ to
+errno+. The +TTERNO+ flag can be used to print the error number's symbolic
+errno+. The +TTERRNO+ flag can be used to print the error number's symbolic
value.

No LTP library function or macro, except those in 'tst_test_macros.h', will
Expand Down

0 comments on commit 631b5ac

Please sign in to comment.