]> mj.ucw.cz Git - pciutils.git/blobdiff - ls-vpd.c
Be ISO C89 compliant (still needed for MSVC)
[pciutils.git] / ls-vpd.c
index a1696ee967fad36466d6bd581e2cd74b09511158..35c2bfafee8c8ce8a5789abcac56247926e5d5c9 100644 (file)
--- 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;