diff options
Diffstat (limited to 'src/glsl/apps/tokenise.c')
-rw-r--r-- | src/glsl/apps/tokenise.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/apps/tokenise.c b/src/glsl/apps/tokenise.c index 9ff73157e9c..b4c6d609300 100644 --- a/src/glsl/apps/tokenise.c +++ b/src/glsl/apps/tokenise.c @@ -46,6 +46,7 @@ main(int argc, unsigned int i; if (argc != 3) { + printf("Usage: tokenize infile outfile\n"); return 1; } @@ -56,6 +57,7 @@ main(int argc, fseek(in, 0, SEEK_END); size = ftell(in); + assert(size != -1); fseek(in, 0, SEEK_SET); out = fopen(argv[2], "wb"); |