summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013-02-21 15:40:08 +0100
committerrofl0r <retnyg@gmx.net>2013-02-21 21:35:34 +0100
commit8224bdbbedc60a5d637d95ddd344501f667f0294 (patch)
tree7d08989a6751129c937831e0a5ff21cc8180fc94 /include/scsi
parentcaec662217fc13cda95dc88b20d5c7a75e483ca6 (diff)
downloadmusl-8224bdbbedc60a5d637d95ddd344501f667f0294.tar.gz
musl-8224bdbbedc60a5d637d95ddd344501f667f0294.tar.bz2
musl-8224bdbbedc60a5d637d95ddd344501f667f0294.tar.xz
musl-8224bdbbedc60a5d637d95ddd344501f667f0294.zip
scsci/sg.h: fix usage of undefined macro HZ
this macro is 100 on all archs, at least in userspace, according to kernel headers.
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/sg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/sg.h b/include/scsi/sg.h
index f3fd05b4..a7ac247e 100644
--- a/include/scsi/sg.h
+++ b/include/scsi/sg.h
@@ -52,7 +52,7 @@
#define SG_SET_COMMAND_Q 0x2271
#define SG_SET_DEBUG 0x227e
#define SG_NEXT_CMD_LEN 0x2283
-#define SG_DEFAULT_TIMEOUT (60*HZ)
+#define SG_DEFAULT_TIMEOUT (60*100) /* 60*HZ */
#define SG_DEF_COMMAND_Q 0
#define SG_DEF_UNDERRUN_FLAG 0