From 2f535b7f4641635ebb7b7c4cd74b664fbe325048 Mon Sep 17 00:00:00 2001 From: drochner Date: Tue, 9 Nov 1999 15:06:30 +0000 Subject: 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. --- cribbage/instr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cribbage/instr.c') 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 { -- cgit v1.2.3-56-ge451