--- a/mem2swap.c +++ b/mem2swap.c @@ -23,11 +23,11 @@ int i, n = 0; long int *p; + long int *p_new; - long int *p_new; char *args[] = { "/usr/bin/free", "-m", NULL }; + int size = sizeof (*p); - int megs = DEFAULT_MEGS * 1024 * 1024; if (argc == 2)