We are getting warnings when building with native port: used with length equal to number of elements without multiplication by element size This fixes the call of memset. Signed-off-by: Anas Nashif <anas.nashif@intel.com>