6a05c5
--- clamav-0.91.2/clamd/dazukoio_compat12.c.open	2007-03-06 14:38:06.000000000 +0100
6a05c5
+++ clamav-0.91.2/clamd/dazukoio_compat12.c	2007-08-25 12:36:30.000000000 +0200
6a05c5
@@ -89,7 +89,7 @@ int dazukoRegister_TS_compat12(struct da
6a05c5
 	if (dazuko->device < 0)
6a05c5
 	{
6a05c5
 
6a05c5
-		dazuko->device = open("/dev/dazuko", 0);
6a05c5
+		dazuko->device = open("/dev/dazuko", O_RDONLY);
6a05c5
 		if (dazuko->device < 0)
6a05c5
 			return -1;
6a05c5