Fix the pwd and group functions. The bb_ stuff was a leftover from
[oweals/busybox.git] / free.c
diff --git a/free.c b/free.c
index a33fa9a596c4d3b982b5a5df7dfe6e5f5939b7ff..17dd38687bd44f2d5efa4fd7e6dc93cf275e52ac 100644 (file)
--- a/free.c
+++ b/free.c
@@ -2,7 +2,7 @@
 /*
  * Mini free implementation for busybox
  *
- * Copyright (C) 1999,2000 by Lineo, inc.
+ * Copyright (C) 1999,2000,2001 by Lineo, inc.
  * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -24,6 +24,7 @@
 #include "busybox.h"
 #include <stdio.h>
 #include <errno.h>
+#include <stdlib.h>
 
 extern int free_main(int argc, char **argv)
 {
@@ -60,7 +61,7 @@ extern int free_main(int argc, char **argv)
        printf("%6s%13ld%13ld%13ld\n", "Total:", info.totalram+info.totalswap,
                        (info.totalram-info.freeram)+(info.totalswap-info.freeswap),
                        info.freeram+info.freeswap);
-       return(TRUE);
+       return EXIT_SUCCESS;
 }