From 875d681ebca8333ed9c133e73689afc8862b2abd Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 4 Aug 2008 11:53:13 +0000 Subject: neuros-pkggen: sync with neuros git --- packages/neuros-pkggen/files/package.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/neuros-pkggen/files') 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) -- cgit v1.2.3