projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caec662
)
scsci/sg.h: fix usage of undefined macro HZ
author
rofl0r
<retnyg@gmx.net>
Thu, 21 Feb 2013 14:40:08 +0000
(15:40 +0100)
committer
rofl0r
<retnyg@gmx.net>
Thu, 21 Feb 2013 20:35:34 +0000
(21:35 +0100)
this macro is 100 on all archs, at least in userspace, according
to kernel headers.
include/scsi/sg.h
patch
|
blob
|
history
diff --git
a/include/scsi/sg.h
b/include/scsi/sg.h
index f3fd05b47f314dbb17150950391456f898dc02d6..a7ac247e3ffade1a20770e2bc90119c7756eaf83 100644
(file)
--- 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