Package: playmidi
Version: 2.4
Author: Guillem Jover <guillem@hadrons.org>
Status: applied
Debbug: 40133
Description:
 Print usage on stdout.

diff -Nurd playmidi-2.4/playmidi.c playmidi-2.4-patched/playmidi.c
--- playmidi-2.4/playmidi.c	Thu Jul 18 20:58:10 2002
+++ playmidi-2.4-patched/playmidi.c	Thu Jul 18 21:08:14 2002
@@ -403,8 +403,8 @@
 	}
 
     if (error || optind >= argc) {
-	fprintf(stderr, "usage: %s [-options] file1 [file2 ...]\n", argv[0]);
-	fprintf(stderr, "  -v       verbosity (additive)\n"
+	printf("usage: %s [-options] file1 [file2 ...]\n", argv[0]);
+	printf("  -v       verbosity (additive)\n"
 		"  -i x     ignore channels set in bitmask x (hex)\n"
 		"  -c x     play only channels set in bitmask x (hex)\n"
 		"  -x x     exclude channel x from playable bitmask\n"
diff -Nurd playmidi-2.4/toy.c playmidi-2.4-patched/toy.c
--- playmidi-2.4/toy.c	Sun May 11 23:44:01 1997
+++ playmidi-2.4-patched/toy.c	Thu Jul 18 21:07:00 2002
@@ -118,7 +118,7 @@
 	}
 
     if (error || argc - optind != 2) {
-	fprintf(stderr, "usage: %s [-t semitones]"
+	printf("usage: %s [-t semitones]"
 		" [-c channel] [-p program] [-wait] "
 		"inputfile.seq outputfile.seq\n", argv[0]);
 	exit(1);
