We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3dd051 commit 2d56794Copy full SHA for 2d56794
games/worm/worm.c
@@ -1,4 +1,4 @@
1
-/* $NetBSD: worm.c,v 1.31 2015/08/17 17:17:01 dholland Exp $ */
+/* $NetBSD: worm.c,v 1.32 2024/12/11 03:47:27 maya Exp $ */
2
3
/*
4
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
39
#if 0
40
static char sccsid[] = "@(#)worm.c 8.1 (Berkeley) 5/31/93";
41
#else
42
-__RCSID("$NetBSD: worm.c,v 1.31 2015/08/17 17:17:01 dholland Exp $");
+__RCSID("$NetBSD: worm.c,v 1.32 2024/12/11 03:47:27 maya Exp $");
43
#endif
44
#endif /* not lint */
45
@@ -100,7 +100,7 @@ newlink(void)
100
101
b = malloc(sizeof(*b));
102
if (b == NULL) {
103
- err(EXIT_FAILURE, NULL);
+ err(EXIT_FAILURE, "malloc failed");
104
}
105
return b;
106
0 commit comments