aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:46:23 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:46:28 +0100
commit9510738b0aaf7e7d8516c895597a591827eb596a (patch)
treeb473e9a472e5b2d618436d849981129acf8b16eb
parentUpdate e-mail (diff)
downloadlibhaiku-9510738b0aaf7e7d8516c895597a591827eb596a.tar.gz
libhaiku-9510738b0aaf7e7d8516c895597a591827eb596a.tar.bz2
libhaiku-9510738b0aaf7e7d8516c895597a591827eb596a.tar.xz
misc fixesHEADmaster
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--Makefile4
-rw-r--r--README2
-rw-r--r--libhaiku.c6
-rw-r--r--libhaiku.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 5886962..41cbe50 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,8 @@ LIB_MINOR = 0
LIB_VERSION = $(LIB_MAJOR).$(LIB_MINOR)
-MAN3 = libhaiku.7
-MAN7 = libhaiku_generic.3 libhaiku_perror.3 libhaiku_perror2.3 libhaiku_strerror.3
+MAN3 = libhaiku_generic.3 libhaiku_perror.3 libhaiku_perror2.3 libhaiku_strerror.3
+MAN7 = libhaiku.7
OBJ = libhaiku.o
HDR = libhaiku.h
diff --git a/README b/README
index bc7e457..c27d62e 100644
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
libhaiku - Poetic error messages
DESCRIPTION
- libhaiku is an API on top of a collection of haiku,
+ libhaiku is an API on top of a collection of haiku
that lets a programmer make a program print haiku for
error messages. Instead of calling perror(3), the
program should call libhaiku_perror(3).
diff --git a/libhaiku.c b/libhaiku.c
index 870093a..423c286 100644
--- a/libhaiku.c
+++ b/libhaiku.c
@@ -99,8 +99,8 @@ libhaiku_generic(void)
* Get a poetic error message
*
* @param errnum `errno` value that the error message shall be selected for
- * @param genericp Unless `NULL`, will be set to 1 if the function didn't have
- * any haikus specific the the specified error, and had to
+ * @param genericp Unless `NULL`, will be set to 1 if the function did not have
+ * any haikus specific to the specified error, and had to
* return a generic haiku, and to 0 otherwise
* @return A poetic error message
*/
@@ -205,7 +205,7 @@ libhaiku_strerror(int errnum, int *genericp)
#ifdef EHOSTDOWN
case EHOSTDOWN:
- H("Windows NT crashed.\n""I am the Blue Screen of Death.\n""Noone hears your screams.\n",
+ H("Windows NT crashed.\n""I am the Blue Screen of Death.\n""No one hears your screams.\n",
"Won't you please observe\n""a brief moment of silence\n""For the dead server?\n");
#endif
diff --git a/libhaiku.h b/libhaiku.h
index b00523f..2b71ca7 100644
--- a/libhaiku.h
+++ b/libhaiku.h
@@ -15,8 +15,8 @@ const char *libhaiku_generic(void);
* Get a poetic error message
*
* @param errnum `errno` value that the error message shall be selected for
- * @param genericp Unless `NULL`, will be set to 1 if the function didn't have
- * any haikus specific the the specified error, and had to
+ * @param genericp Unless `NULL`, will be set to 1 if the function did not have
+ * any haikus specific to the specified error, and had to
* return a generic haiku, and to 0 otherwise
* @return A poetic error message
*/