summaryrefslogtreecommitdiff
path: root/packages/neuros-pkggen/files
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2008-08-04 15:13:29 +0000
committerThomas Kunze <thommycheck@gmx.de>2008-08-04 15:13:29 +0000
commit29f6b384ef2899fda7d18b990622a9b30a7aa8d2 (patch)
tree00c1880e6891890663fc95ff9d3f12e631c26b36 /packages/neuros-pkggen/files
parent615fc240efab913c303ec3a464c341cbddba4687 (diff)
parent89b85eda60769fe941a2e64ea4d296617befc2af (diff)
merge of '0675e9a3e7f3d9faa1311df4548be2e200c02760'
and 'ed7f086a6f3dc6bc06899e467a960cd37d7f2a9c'
Diffstat (limited to 'packages/neuros-pkggen/files')
-rw-r--r--packages/neuros-pkggen/files/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/neuros-pkggen/files/package.c b/packages/neuros-pkggen/files/package.c
index 70f219514d..6ac94f9874 100644
--- a/packages/neuros-pkggen/files/package.c
+++ b/packages/neuros-pkggen/files/package.c
@@ -387,7 +387,7 @@ int main(int argc, char *argv[])
}
/* packet firmware to package */
- if (pack_firmware(fp_w, hw_len, 4, &argv[3]) != 0)
+ if (pack_firmware(fp_w, hw_len, argc - 3, &argv[3]) != 0)
return(-1);
/* packet upk_desc and version info */
if (pack_ver_info(fp_w, hw_len+phd->p_headsize, argv[2]) != 0)