From 699a55aa0a964665ee53f084dc58192390c4e7f5 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 3 Mar 2008 17:02:13 +0000 Subject: update comment git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@593 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/util/shhopt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util') diff --git a/lib/util/shhopt.h b/lib/util/shhopt.h index fd15b53c..12b0ef22 100644 --- a/lib/util/shhopt.h +++ b/lib/util/shhopt.h @@ -191,7 +191,7 @@ typedef struct { Here is an example: unsigned int option_def_index = 0; - optEntry *option_def = malloc(100*sizeof(optEntry)); + MALLOCARRAY_NOFAIL(option_def, 100); OPTENT3('h', "help", OPT_FLAG, &help_flag, 0); OPTENT3(0, "alphaout", OPT_STRING, &alpha_filename, 0); */ -- cgit 1.4.1