From 219d14d514ca4d31b4319af14e3a64b66fe2c233 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 24 Mar 2007 15:40:16 +0000 Subject: random style fixes (extra spaces deleted) --- procps/free.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'procps/free.c') diff --git a/procps/free.c b/procps/free.c index 860f57347..2b205d0c7 100644 --- a/procps/free.c +++ b/procps/free.c @@ -18,10 +18,10 @@ int free_main(int argc, char **argv) sysinfo(&info); /* Kernels prior to 2.4.x will return info.mem_unit==0, so cope... */ - if (info.mem_unit==0) { + if (info.mem_unit == 0) { info.mem_unit=1; } - if ( info.mem_unit == 1 ) { + if (info.mem_unit == 1) { info.mem_unit=1024; /* TODO: Make all this stuff not overflow when mem >= 4 Gib */ @@ -46,7 +46,7 @@ int free_main(int argc, char **argv) info.bufferram*=info.mem_unit; } - if (argc > 1 && **(argv + 1) == '-') + if (argc > 1 && *argv[1] == '-') bb_show_usage(); printf("%6s%13s%13s%13s%13s%13s\n", "", "total", "used", "free", @@ -66,4 +66,3 @@ int free_main(int argc, char **argv) #endif return EXIT_SUCCESS; } - -- cgit v1.2.3