1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:15:00 +02:00

tools/firmware-utils: allow to create buffalo tags w/o hw version

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27472 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2011-07-06 08:04:49 +00:00
parent da0ae64a3e
commit d08b885a8a

View File

@ -97,7 +97,9 @@ static int check_params(void)
CHECKSTR(major, "major version", TAG_VERSION_LEN);
CHECKSTR(minor, "minor version", TAG_VERSION_LEN);
CHECKSTR(language, "language", TAG_LANGUAGE_LEN);
CHECKSTR(hwver, "hardware version", 2);
if (hwver)
CHECKSTR(hwver, "hardware version", 2);
if (num_regions == 0) {
ERR("no region code specified");