diff options
author | drochner <drochner@NetBSD.org> | 1999-11-09 15:06:30 +0000 |
---|---|---|
committer | drochner <drochner@NetBSD.org> | 1999-11-09 15:06:30 +0000 |
commit | 2f535b7f4641635ebb7b7c4cd74b664fbe325048 (patch) | |
tree | f940c29823f1a535c739bd6c2f9b4269df371e52 /cribbage/instr.c | |
parent | 9015a6d9f684099dd01a207dd36230dd6a9da9b9 (diff) | |
download | bsdgames-darwin-2f535b7f4641635ebb7b7c4cd74b664fbe325048.tar.gz bsdgames-darwin-2f535b7f4641635ebb7b7c4cd74b664fbe325048.tar.zst bsdgames-darwin-2f535b7f4641635ebb7b7c4cd74b664fbe325048.zip |
Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
Diffstat (limited to 'cribbage/instr.c')
-rw-r--r-- | cribbage/instr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cribbage/instr.c b/cribbage/instr.c index 5de9b9e1..5c7738c0 100644 --- a/cribbage/instr.c +++ b/cribbage/instr.c @@ -1,4 +1,4 @@ -/* $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 @@ -38,7 +38,7 @@ #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 */ @@ -90,7 +90,7 @@ instructions() _exit(1); } execl("/bin/sh", "sh", "-c", path, NULL); - warn("%s", ""); + warn(NULL); _exit(1); default: do { |