diff options
author | Russ Allbery <eagle@eyrie.org> | 2015-11-27 14:13:19 -0800 |
---|---|---|
committer | Russ Allbery <eagle@eyrie.org> | 2015-11-27 14:13:19 -0800 |
commit | b50c87250cdbb44ee1d47934c9b218e00ef311e2 (patch) | |
tree | 9baab6158af5dd916810baeb597dbf90809fb68a /util | |
parent | 5f05c630d8ba44a3fbe3c96efcaf2105ce9c0069 (diff) |
Update to rra-c-util 5.9
Diffstat (limited to 'util')
-rw-r--r-- | util/xmalloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/xmalloc.c b/util/xmalloc.c index 4af8ee9..7fb0405 100644 --- a/util/xmalloc.c +++ b/util/xmalloc.c @@ -12,7 +12,7 @@ * buffer = xmalloc(1024); * xrealloc(buffer, 2048); * free(buffer); - * buffer = xcalloc(1024); + * buffer = xcalloc(1, 1024); * free(buffer); * buffer = xstrdup(string); * free(buffer); @@ -62,6 +62,7 @@ * The canonical version of this file is maintained in the rra-c-util package, * which can be found at <http://www.eyrie.org/~eagle/software/rra-c-util/>. * + * Copyright 2015 Russ Allbery <eagle@eyrie.org> * Copyright 2012, 2013, 2014 * The Board of Trustees of the Leland Stanford Junior University * Copyright (c) 2004, 2005, 2006 |