summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorRob Landley2006-08-03 20:22:37 +0000
committerRob Landley2006-08-03 20:22:37 +0000
commit403777ffae15cf4eb94c319fb8144d66f5aed0eb (patch)
tree417f0fab837f3bc6d0562a05649462d17ab0fe66 /miscutils
parent081e38483ec55dcfca3d92434fe94f0777ed962d (diff)
downloadbusybox-403777ffae15cf4eb94c319fb8144d66f5aed0eb.zip
busybox-403777ffae15cf4eb94c319fb8144d66f5aed0eb.tar.gz
Patch from tito to improve options parsing.
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/hdparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index aea96d6..1febcef 100644
--- 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