Module Name: src
Committed By: christos
Date: Tue Aug 16 08:02:18 UTC 2011
Modified Files:
src/usr.sbin/bootp/bootptest: bootptest.c
Log Message:
fix non-literal strings
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/bootp/bootptest/bootptest.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/bootp/bootptest/bootptest.c
diff -u src/usr.sbin/bootp/bootptest/bootptest.c:1.18 src/usr.sbin/bootp/bootptest/bootptest.c:1.19
--- src/usr.sbin/bootp/bootptest/bootptest.c:1.18 Tue Apr 14 20:23:29 2009
+++ src/usr.sbin/bootp/bootptest/bootptest.c Tue Aug 16 04:02:18 2011
@@ -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>