diff options
Diffstat (limited to 'packages/neuros-pkggen/files')
-rw-r--r-- | packages/neuros-pkggen/files/package.c | 2 |
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) |