File replace-HZ-by-sysconf_SC_CLK_TCK.patch of Package iscan-free

--- sanei/sanei_scsi.c.orig	2005-04-22 10:36:17.000000000 +0200
+++ sanei/sanei_scsi.c	2006-07-04 10:16:49.000000000 +0200
@@ -1273,7 +1273,7 @@
      disconnect... ;-( */
   {
     int timeout;
-    timeout = sane_scsicmd_timeout * HZ;
+    timeout = sane_scsicmd_timeout * sysconf(_SC_CLK_TCK);
     ioctl (fd, SG_SET_TIMEOUT, &timeout);
   }
 #endif
openSUSE Build Service is sponsored by