aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--liberror.74
-rw-r--r--liberror_get_error.34
2 files changed, 4 insertions, 4 deletions
diff --git a/liberror.7 b/liberror.7
index 1464ac7..964fe94 100644
--- a/liberror.7
+++ b/liberror.7
@@ -43,10 +43,10 @@ function for
.I errno
errors.
.TP
-.BR liberror_set_error_existing(3)
+.BR liberror_set_error_existing (3)
Set error for the calling thread to a saved error.
.TP
-.BR liberror_pop_error(3)
+.BR liberror_pop_error (3)
Set error for the calling thread to the current
error's cause.
.TP
diff --git a/liberror_get_error.3 b/liberror_get_error.3
index 8059ada..e4f2761 100644
--- a/liberror_get_error.3
+++ b/liberror_get_error.3
@@ -13,7 +13,7 @@ Link with
.SH DESCRIPTION
The
.BR liberror_get_error ()
-function returns a pointer to the threads current
+function returns a pointer to the thread's current
error. If the thread does not have an error assigned,
.I NULL
is returned.
@@ -26,7 +26,7 @@ The
.BR liberror_get_error ()
returns the error assigned to the thread, or
.I NULL
-if none is assigned to the threa. Failure is impossible.
+if none is assigned to the thread. Failure is impossible.
.PP
Note, this contents of this error will change when a new
error is assigned to the thread.