clamav/clamav-0.92-open.patch

14 lines
438 B
Diff
Raw Normal View History

2010-08-15 20:35:32 +00:00
Index: clamav-0.96.2/clamd/dazukoio_compat12.c
===================================================================
2010-08-15 20:35:32 +00:00
--- clamav-0.96.2.orig/clamd/dazukoio_compat12.c
+++ clamav-0.96.2/clamd/dazukoio_compat12.c
2007-12-21 18:06:29 +00:00
@@ -89,7 +89,7 @@ int dazukoRegister_TS_compat12(struct da
if (dazuko->device < 0)
{
- dazuko->device = open("/dev/dazuko", 0);
+ dazuko->device = open("/dev/dazuko", O_RDONLY);
if (dazuko->device < 0)
return -1;