> > Actually I did it that way on purpose, so that the "gzip -n" vmlinux file > would be accepted on face value -- but with the warning. The user is not > doing anything wrong that should force them to have to re-enter the command. > > This is what I have queued: > > if ((header[0] == 0x1f) && (header[1] == 0x8b) && (header[2] == 8)) { > if (!(header[3] & FNAME)) { > if (!(st->flags & FORCE_DEBUGINFO)) { > error(INFO, "%s: " > "original filename unknown\n", > file); > error(CONT, > "Use \"-f %s\" on command line to prevent this message.\n\n", > file); > } > } else if (!STRNEQ((char *)&header[10], "vmlinux") && > !(st->flags & FORCE_DEBUGINFO)) { > error(INFO, "%s: compressed file name does not " > "start with \"vmlinux\"\n", &header[10]); > error(CONT, > "Use \"-f %s\" on command line to override.\n\n", > file); > return FALSE; > } > type = GZIP; > } > > Dave > > Got it. Thanks. Regards, Aruna -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility