fwcutter: Print the ID in the --identify output
authorMichael Buesch <mb@bu3sch.de>
Tue, 12 Feb 2008 21:55:35 +0000 (22:55 +0100)
committerMichael Buesch <mb@bu3sch.de>
Tue, 12 Feb 2008 21:55:35 +0000 (22:55 +0100)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
fwcutter/fwcutter.c

index c4b4af7674d5b0ee39469295b1b5add6fa4fd130..cfcfbbfb5cbe08782643dc53d49efa0b1cd080df 100644 (file)
@@ -495,6 +495,7 @@ static const struct file *find_file(FILE *fd)
                if (file_ok(&files[i]) &&
                    strcasecmp(md5sig, files[i].md5) == 0) {
                        printf("This file is recognised as:\n");
+                       printf("  ID         :  %s\n", files[i].id);
                        printf("  filename   :  %s\n", files[i].name);
                        printf("  version    :  %s\n", files[i].ucode_version);
                        printf("  MD5        :  %s\n", files[i].md5);