--- projects/libstatgrab/examples/process_snapshot.c 2004/04/03 22:59:30 1.3 +++ projects/libstatgrab/examples/process_snapshot.c 2004/04/04 22:48:49 1.4 @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id: process_snapshot.c,v 1.3 2004/04/03 22:59:30 tdb Exp $ + * $Id: process_snapshot.c,v 1.4 2004/04/04 22:48:49 tdb Exp $ */ #include @@ -29,7 +29,7 @@ int main(){ proc_state_t *ps; int ps_size; int x; - char *state; + char *state = NULL; /* Initialise statgrab */ statgrab_init();