-/* $NetBSD: instr.c,v 1.8 1999/09/13 17:27:36 jsm Exp $ */
+/* $NetBSD: instr.c,v 1.9 1999/11/09 15:06:32 drochner Exp $ */
/*-
* Copyright (c) 1990, 1993
#if 0
static char sccsid[] = "@(#)instr.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: instr.c,v 1.8 1999/09/13 17:27:36 jsm Exp $");
+__RCSID("$NetBSD: instr.c,v 1.9 1999/11/09 15:06:32 drochner Exp $");
#endif
#endif /* not lint */
_exit(1);
}
execl("/bin/sh", "sh", "-c", path, NULL);
- warn("%s", "");
+ warn(NULL);
_exit(1);
default:
do {
-/* $NetBSD: fortune.c,v 1.21 1999/09/22 18:56:32 jsm Exp $ */
+/* $NetBSD: fortune.c,v 1.22 1999/11/09 15:06:33 drochner Exp $ */
/*-
* Copyright (c) 1986, 1993
#if 0
static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: fortune.c,v 1.21 1999/09/22 18:56:32 jsm Exp $");
+__RCSID("$NetBSD: fortune.c,v 1.22 1999/11/09 15:06:33 drochner Exp $");
#endif
#endif /* not lint */
regex_t *Re_pat = NULL;
# define RE_INIT() if (Re_pat == NULL && \
(Re_pat = calloc(sizeof(*Re_pat), 1)) == NULL)\
- err(1, "%s", "")
+ err(1, NULL)
# define RE_COMP(p) (regcomp(Re_pat, p, REG_EXTENDED))
# define BAD_COMP(f) ((f) != 0)
# define RE_EXEC(p) (!regexec(Re_pat, p, 0, NULL, 0))
void *new;
if ((new = malloc(size)) == NULL)
- err(1, "%s", "");
+ err(1, NULL);
return new;
}
else
cnt++;
if ((new = malloc(cnt)) == NULL)
- err(1, "%s", "");
+ err(1, NULL);
for (sp = new; *orig != '\0'; orig++) {
if (islower(*orig)) {