diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 10:42:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 10:42:51 +0000 |
commit | bf0a201008671f81c107de72c026b1b84967561d (patch) | |
tree | af74820b70fa27929fe218c95822c20651b60637 /miscutils/hdparm.c | |
parent | 5dd7ef0f37373e397a7160cb431a32ae57f9f7d9 (diff) | |
download | busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.gz busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.tar.bz2 busybox-w32-bf0a201008671f81c107de72c026b1b84967561d.zip |
style fixes
last xcalloc replaced by xzalloc
Diffstat (limited to 'miscutils/hdparm.c')
-rw-r--r-- | miscutils/hdparm.c | 6 |
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) | |||
2043 | 2043 | ||
2044 | // Convert the newline-separated hex data into an identify block. | 2044 | // Convert the newline-separated hex data into an identify block. |
2045 | 2045 | ||
2046 | for (i = 0; i<256; i++) | 2046 | for (i = 0; i<256; i++) { |
2047 | { | ||
2048 | int j; | 2047 | int j; |
2049 | for(j=0;j<4;j++) sbuf[i] = (sbuf[i] <<4) + fromhex(*(b++)); | 2048 | for (j = 0; j < 4; j++) |
2049 | sbuf[i] = (sbuf[i] <<4) + fromhex(*(b++)); | ||
2050 | } | 2050 | } |
2051 | 2051 | ||
2052 | // Parse the data. | 2052 | // Parse the data. |