Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/bootp/bootptest fix non-literal strings
details: https://anonhg.NetBSD.org/src/rev/6b6a5a51ff06
branches: trunk
changeset: 768398:6b6a5a51ff06
user: christos <christos%NetBSD.org@localhost>
date: Tue Aug 16 08:02:18 2011 +0000
description:
fix non-literal strings
diffstat:
usr.sbin/bootp/bootptest/bootptest.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r 84edd49aac24 -r 6b6a5a51ff06 usr.sbin/bootp/bootptest/bootptest.c
--- a/usr.sbin/bootp/bootptest/bootptest.c Tue Aug 16 07:57:21 2011 +0000
+++ b/usr.sbin/bootp/bootptest/bootptest.c Tue Aug 16 08:02:18 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootptest.c,v 1.18 2009/04/15 00:23:29 lukem Exp $ */
+/* $NetBSD: bootptest.c,v 1.19 2011/08/16 08:02:18 christos Exp $ */
/*
* bootptest.c - Test out a bootp server.
@@ -36,11 +36,11 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: bootptest.c,v 1.18 2009/04/15 00:23:29 lukem Exp $");
+__RCSID("$NetBSD: bootptest.c,v 1.19 2011/08/16 08:02:18 christos Exp $");
#endif
-const char *usage = "usage: %s [-f bootfile] [-h] [-m magic_number] server-name\n"
- " [vendor-data-template-file]\n";
+#define usage "Usage: %s [-f bootfile] [-h] [-m magic_number] server-name\n" \
+ "\t[vendor-data-template-file]\n"
#include <sys/param.h>
#include <sys/socket.h>
Home |
Main Index |
Thread Index |
Old Index