svn commit: trunk/busybox/miscutils

landley at busybox.net landley at busybox.net
Thu Aug 3 20:22:38 UTC 2006


Author: landley
Date: 2006-08-03 13:22:37 -0700 (Thu, 03 Aug 2006)
New Revision: 15772

Log:
Patch from tito to improve options parsing.


Modified:
   trunk/busybox/miscutils/hdparm.c


Changeset:
Modified: trunk/busybox/miscutils/hdparm.c
===================================================================
--- trunk/busybox/miscutils/hdparm.c	2006-08-03 20:07:35 UTC (rev 15771)
+++ trunk/busybox/miscutils/hdparm.c	2006-08-03 20:22:37 UTC (rev 15772)
@@ -1481,7 +1481,7 @@
 {
 	unsigned int t;
 
-
+	printf(" (");
 	if (standby == 0)
 		printf("off");
 	else if (standby == 252)
@@ -2082,7 +2082,7 @@
 	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




More information about the busybox-cvs mailing list