diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-26 10:42:51 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-26 10:42:51 +0000 |
commit | 52f326a239527e7242321661d2ba06b50daa3c43 (patch) | |
tree | af74820b70fa27929fe218c95822c20651b60637 /miscutils/hdparm.c | |
parent | da5e86c349488f3ea31718b149ce9f0d1493b64b (diff) | |
download | busybox-w32-52f326a239527e7242321661d2ba06b50daa3c43.tar.gz busybox-w32-52f326a239527e7242321661d2ba06b50daa3c43.tar.bz2 busybox-w32-52f326a239527e7242321661d2ba06b50daa3c43.zip |
style fixes
last xcalloc replaced by xzalloc
git-svn-id: svn://busybox.net/trunk/busybox@17081 69ca8d6d-28ef-0310-b511-8ec308f3f277
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. |