From 52f326a239527e7242321661d2ba06b50daa3c43 Mon Sep 17 00:00:00 2001 From: vda Date: Tue, 26 Dec 2006 10:42:51 +0000 Subject: style fixes last xcalloc replaced by xzalloc git-svn-id: svn://busybox.net/trunk/busybox@17081 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- miscutils/hdparm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'miscutils/hdparm.c') 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. -- cgit v1.2.3-55-g6feb