From 9510738b0aaf7e7d8516c895597a591827eb596a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 14:46:23 +0100 Subject: misc fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 4 ++-- README | 2 +- libhaiku.c | 6 +++--- libhaiku.h | 4 ++-- 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 */ -- cgit v1.2.3-70-g09d2