On 1/28/07, Thomas E. Spanjaard <[EMAIL PROTECTED]> 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

Reply via email to