projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081e384
)
Patch from tito to improve options parsing.
author
Rob Landley
<rob@landley.net>
Thu, 3 Aug 2006 20:22:37 +0000
(20:22 -0000)
committer
Rob Landley
<rob@landley.net>
Thu, 3 Aug 2006 20:22:37 +0000
(20:22 -0000)
miscutils/hdparm.c
patch
|
blob
|
history
diff --git
a/miscutils/hdparm.c
b/miscutils/hdparm.c
index
aea96d6
..
1febcef
100644
(file)
--- a/
miscutils/hdparm.c
+++ b/
miscutils/hdparm.c
@@
-1481,7
+1481,7
@@
static void interpret_standby(unsigned int standby)
{
unsigned int t;
-
+ printf(" (");
if (standby == 0)
printf("off");
else if (standby == 252)
@@
-2082,7
+2082,7
@@
static const char hdparm_options[]= "gfu::n::p:r::m::c::k::a::B:tTh"\
USE_FEATURE_HDPARM_GET_IDENTITY("iI")
USE_FEATURE_HDPARM_HDIO_GETSET_DMA("d::")
#ifdef HDIO_DRIVE_CMD
- "S:
:D::P::X::K::A::L::W:
:CyYzZ"
+ "S:
D:P:X:K:A:L:W
:CyYzZ"
#endif
USE_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF("U:")
#ifdef HDIO_GET_QDMA