Changeset 303 for trunk/src


Ignore:
Timestamp:
Nov 12, 2010, 8:24:02 PM (14 years ago)
Author:
katerina
Message:

Fix compile error when using --with-kcheck (ticket #225).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_kern.c

    r294 r303  
    175175  char            path[128];
    176176  char          * p = NULL;
    177   unsigned long   x1 = 0, x2 = 0;
     177
    178178  unsigned char * name = (unsigned char *) in_name;
    179179  struct store2db save;
     
    181181  sl_snprintf(path, 128, "K_%s_%04d", prefix, num);
    182182
    183   memset(save, '\0', sizeof(struct store2db));
     183  memset(&save, '\0', sizeof(struct store2db));
    184184
    185185  if (direction == SH_KERN_DBPUSH)
Note: See TracChangeset for help on using the changeset viewer.