changeset 1797:6fa4f028d226

[gaim-migrate @ 1807] More informational message when people aren't using gmake. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 02 May 2001 21:24:47 +0000
parents 5728118a8d4c
children 5ed382006539
files sounds/au2h.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sounds/au2h.c	Wed May 02 09:57:55 2001 +0000
+++ b/sounds/au2h.c	Wed May 02 21:24:47 2001 +0000
@@ -18,6 +18,11 @@
 	char file[256];
 	int offset = 0, cnt;
 
+	if (argc != 3) {
+		fprintf(stderr, "Too few arguments! Are you using gmake?\n");
+		exit(1);
+	}
+
 	fd = open(argv[1], O_RDONLY);
 	if (fd < 0) {
 		perror("open");