aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2021-12-11 11:12:06 +0000
committerSimon Tatham <anakin@pobox.com>2021-12-11 11:16:36 +0000
commit5c5c607fdb834bc73033736f5774ef53c42008aa (patch)
treeef6f1887b7a57a9eee3cb3b22216c5ffed35ec1a
parent9339cff533fcbf441feef1a5f19163619f8ec1c9 (diff)
downloadpuzzles-5c5c607fdb834bc73033736f5774ef53c42008aa.zip
puzzles-5c5c607fdb834bc73033736f5774ef53c42008aa.tar.gz
puzzles-5c5c607fdb834bc73033736f5774ef53c42008aa.tar.bz2
puzzles-5c5c607fdb834bc73033736f5774ef53c42008aa.tar.xz
malloc.c: fix copy-pasted comment from the Dawn Of Time.
My standard 'abort on failure' wrappers around malloc and friends look more or less the same in most of my C software. In this case, they were so much the same that there was even a comment betraying that I copy-pasted them from Halibut. And nobody has noticed in the whole lifetime of this code base :-)
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index a7fa7c5..7e5b87e 100644
--- a/malloc.c
+++ b/malloc.c
@@ -7,7 +7,7 @@
#include "puzzles.h"
/*
- * smalloc should guarantee to return a useful pointer - Halibut
+ * smalloc should guarantee to return a useful pointer - we
* can do nothing except die when it's out of memory anyway.
*/
void *smalloc(size_t size) {