aboutsummaryrefslogtreecommitdiff
path: root/procps/free.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/free.c')
-rw-r--r--procps/free.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/procps/free.c b/procps/free.c
index dbc606c94..4fb047d48 100644
--- a/procps/free.c
+++ b/procps/free.c
@@ -2,7 +2,7 @@
2/* 2/*
3 * Mini free implementation for busybox 3 * Mini free implementation for busybox
4 * 4 *
5 * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org> 5 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
@@ -64,11 +64,11 @@ extern int free_main(int argc, char **argv)
64 if (argc > 1 && **(argv + 1) == '-') 64 if (argc > 1 && **(argv + 1) == '-')
65 bb_show_usage(); 65 bb_show_usage();
66 66
67 printf("%6s%13s%13s%13s%13s%13s\n", "", "total", "used", "free", 67 printf("%6s%13s%13s%13s%13s%13s\n", "", "total", "used", "free",
68 "shared", "buffers"); 68 "shared", "buffers");
69 69
70 printf("%6s%13ld%13ld%13ld%13ld%13ld\n", "Mem:", info.totalram, 70 printf("%6s%13ld%13ld%13ld%13ld%13ld\n", "Mem:", info.totalram,
71 info.totalram-info.freeram, info.freeram, 71 info.totalram-info.freeram, info.freeram,
72 info.sharedram, info.bufferram); 72 info.sharedram, info.bufferram);
73 73
74#ifndef __uClinux__ 74#ifndef __uClinux__