X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ls-vpd.c;h=35c2bfafee8c8ce8a5789abcac56247926e5d5c9;hb=a662543285001bc75f60e4957b4e505af82db0b4;hp=a1696ee967fad36466d6bd581e2cd74b09511158;hpb=7f9d30238c940d5410a901f3c42a41670da1f3ef;p=pciutils.git diff --git a/ls-vpd.c b/ls-vpd.c index a1696ee..35c2bfa 100644 --- a/ls-vpd.c +++ b/ls-vpd.c @@ -196,9 +196,9 @@ cap_vpd(struct device *d) break; default: - printf("\t\tUnknown %s resource type %02x\n", + printf("\t\tUnknown %s resource type %02x, will not decode more.\n", (tag & 0x80) ? "large" : "small", tag & ~0x80); - break; + return; } res_addr += res_len;