"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Tobias Heider <tobias.heider@stusta.de>
Subject:
Fix error typo
To:
gameoftrees@openbsd.org
Date:
Mon, 4 Dec 2023 19:26:01 +0100

Download raw body.

Thread
  • Tobias Heider:

    Fix error typo

Hi,

attached is a small typo fix forwarded to me by my debian package co-maintainer.

Thanks!
From: Ryan Kavanagh <rak@debian.org>
Date: Sat, 2 Dec 2023 19:41:20 -0500
Subject: Fix typo in error message: occured -> occurred

---
 lib/error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/error.c b/lib/error.c
index 633fbef..459648b 100644
--- a/lib/error.c
+++ b/lib/error.c
@@ -49,7 +49,7 @@ char *__xpg_strerror_r(int, char *, size_t);
 #endif
 
 static const struct got_error got_errors[] = {
-	{ GOT_ERR_OK,		"no error occured?!?" },
+	{ GOT_ERR_OK,		"no error occurred?!?" },
 	{ GOT_ERR_ERRNO,	"see errno" },
 	{ GOT_ERR_NOT_GIT_REPO, "no git repository found" },
 	{ GOT_ERR_BAD_FILETYPE,	"bad file type" },