about summary refs log tree commit diff
path: root/lib/util/shhopt.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-03-03 17:02:13 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-03-03 17:02:13 +0000
commit699a55aa0a964665ee53f084dc58192390c4e7f5 (patch)
treeccee87da950a7cb201fb582d98e0572e7c463b16 /lib/util/shhopt.h
parentc563262006d6630626cf7c36e4d5ce3587505813 (diff)
downloadnetpbm-mirror-699a55aa0a964665ee53f084dc58192390c4e7f5.tar.gz
netpbm-mirror-699a55aa0a964665ee53f084dc58192390c4e7f5.tar.xz
netpbm-mirror-699a55aa0a964665ee53f084dc58192390c4e7f5.zip
update comment
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@593 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/util/shhopt.h')
-rw-r--r--lib/util/shhopt.h2
1 files changed, 1 insertions, 1 deletions
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);
 */