Index: /trunk/docs/Changelog
===================================================================
--- /trunk/docs/Changelog	(revision 302)
+++ /trunk/docs/Changelog	(revision 303)
@@ -1,3 +1,6 @@
 2.8.1:
+	* Fix incorrect memset() in sh_kern.c (passed struct by value...),
+	  reported by Roman and Stefan
+	* Fix 'make install' to create user-defined directory
 	* fix minor issues noticed by T. Luettgert (test code assumes port 
 	  0/tcp is unused, wrong ifdef order (without impact on compilation))
Index: /trunk/src/sh_kern.c
===================================================================
--- /trunk/src/sh_kern.c	(revision 302)
+++ /trunk/src/sh_kern.c	(revision 303)
@@ -175,5 +175,5 @@
   char            path[128];
   char          * p = NULL;
-  unsigned long   x1 = 0, x2 = 0;
+
   unsigned char * name = (unsigned char *) in_name;
   struct store2db save;
@@ -181,5 +181,5 @@
   sl_snprintf(path, 128, "K_%s_%04d", prefix, num);
 
-  memset(save, '\0', sizeof(struct store2db));
+  memset(&save, '\0', sizeof(struct store2db));
 
   if (direction == SH_KERN_DBPUSH) 
