X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldump.c;h=2b4c20b4002a17c85605a93b06c9d5a67ad4a03a;hb=a832996c884a0e0acc9a38ba4dd258edb75ec7af;hp=79896c2fa4bad9c902726e949d03015b899160ae;hpb=0cdc7b50b0e7758a1660c94be664a810504a88f4;p=gldbg.git diff --git a/source/gldump.c b/source/gldump.c index 79896c2..2b4c20b 100644 --- a/source/gldump.c +++ b/source/gldump.c @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of gldbg -Copyright © 2009 Mikko Rasa, Mikkosoft Productions -Distributed under the GPL -*/ - #include #include #include @@ -47,7 +40,7 @@ int main(int argc, char **argv) ret = gldecoder_decode(dec, ptr, end-ptr); if(ret<0) { - fprintf(stderr, "Decode error\n"); + fprintf(stderr, "Decode error with %d bytes left\n", end-ptr); break; } ptr += ret;