From 12102d9f6d7a5e1e475d822d2efdeb4c0bb7bd9e Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 17 May 2002 17:27:12 +0000 Subject: [PATCH] Fix format string in usage. bin/16869 by Julio Merino. --- usr.bin/sed/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c index 616973e98fcc..3af47f17e963 100644 --- a/usr.bin/sed/main.c +++ b/usr.bin/sed/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.11 2002/01/23 19:07:34 atatat Exp $ */ +/* $NetBSD: main.c,v 1.12 2002/05/17 17:27:12 wiz Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. @@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\ #if 0 static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/3/94"; #else -__RCSID("$NetBSD: main.c,v 1.11 2002/01/23 19:07:34 atatat Exp $"); +__RCSID("$NetBSD: main.c,v 1.12 2002/05/17 17:27:12 wiz Exp $"); #endif #endif /* not lint */ @@ -139,7 +139,7 @@ main(argc, argv) default: case '?': (void)fprintf(stderr, -"usage:\t%p script [-anE] [file ...]\n\tsed [-an] [-e script] ... [-f script_file] ... [file ...]\n", +"usage:\t%s script [-anE] [file ...]\n\tsed [-an] [-e script] ... [-f script_file] ... [file ...]\n", getprogname()); exit(1); }