diff options
author | Mark Purcell <msp@debian.org> | 2008-06-22 11:00:40 +1000 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:42 +0200 |
commit | 891c51ff368ed700dec6025eeb47ce4d96f76418 (patch) | |
tree | 3729664829e4faa691d403274f38eb10890b533c /test/sendburst.c | |
parent | 1c6e1f28f54ec2606c23936c1d8689f2be55a86c (diff) | |
parent | ab959d7b4194715870128e616b8e29d4a101e488 (diff) | |
download | linux-dvb-apps-a966623153d5c69ef1565422644280751ce04112.tar.gz |
Imported Debian patch 1.1.1+rev1207-1debian/1.1.1+rev1207-1
Diffstat (limited to '')
-rw-r--r-- | test/sendburst.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/sendburst.c b/test/sendburst.c index a96b68c..b19df37 100644 --- a/test/sendburst.c +++ b/test/sendburst.c @@ -1,8 +1,9 @@ -/* - * Test sending the burst mini command A/B on a SAT frontend. - * - * usage: FRONTEND=/dev/dvb/adapterX/frontendX sendburst {a|b} - */ +#define USAGE \ +"\n" \ +"\nTest sending the burst mini command A/B on a SAT frontend." \ +"\n" \ +"\nusage: FRONTEND=/dev/dvb/adapterX/frontendX sendburst {a|b}" \ +"\n" #include <stdlib.h> #include <stdio.h> @@ -22,7 +23,7 @@ int main (int argc, char **argv) int fd, r; if (argc != 2 || (strcmp(argv[1], "a") && strcmp(argv[1], "b"))) { - fprintf (stderr, "usage: %s <a|b>\n", argv[0]); + fprintf (stderr, "usage: %s <a|b>\n" USAGE, argv[0]); return 1; } @@ -52,4 +53,3 @@ int main (int argc, char **argv) return 0; } - |