aboutsummaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/hdparm.c')
-rw-r--r--miscutils/hdparm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 90c163973..16485b900 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -2043,10 +2043,10 @@ static void identify_from_stdin(void)
// Convert the newline-separated hex data into an identify block.
- for (i = 0; i<256; i++)
- {
+ for (i = 0; i<256; i++) {
int j;
- for(j=0;j<4;j++) sbuf[i] = (sbuf[i] <<4) + fromhex(*(b++));
+ for (j = 0; j < 4; j++)
+ sbuf[i] = (sbuf[i] <<4) + fromhex(*(b++));
}
// Parse the data.