multi-vkd support patch for review
Sepherosa Ziehau
sepherosa at gmail.com
Sun Jan 28 05:32:33 PST 2007
On 1/28/07, Thomas E. Spanjaard <tgen at netphreax.net> wrote:
C.Turner wrote:
> @@ -159,7 +161,8 @@
> netifFile[netifFileNum++] = optarg;
> break;
> case 'r':
> - rootImageFile = optarg;
> + if ( vkdFileNum < VKD_MAX )
> + vkdFile[vkdFileNum++] = optarg;
> break;
> case 'm':
> Maxmem_bytes = strtoull(optarg, &suffix, 0);
Why not if (vkdFileNum < VKD_MAX) { vkdFile[vkdFileNum] = optarg;
vkdFileNum++; }; ? Because now it appears '16' is a valid number, where
Why '16'(VKD_MAX) will be a valid number in his patch?
Best Regards,
sephe
--
Live Free or Die
More information about the Submit
mailing list