diff options
author | okan | 2015-01-24 18:16:59 +0000 |
---|---|---|
committer | okan | 2015-01-24 18:16:59 +0000 |
commit | f7cb1f8b52e651a97ac3daeed402dcda04ce9333 (patch) | |
tree | 6a9186caf4ce572fd9971a5a3fd4e663799d848b | |
parent | 57ffed7fbdbdcf935370a75f27977ce935f84a77 (diff) | |
download | cwm-f7cb1f8b52e651a97ac3daeed402dcda04ce9333.tar.gz |
calloc -> malloc
Diffstat (limited to '')
-rw-r--r-- | conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.183 2015/01/23 20:26:36 okan Exp $ + * $OpenBSD: conf.c,v 1.184 2015/01/24 18:16:59 okan Exp $ */ #include <sys/types.h> @@ -76,7 +76,7 @@ conf_autogroup(struct conf *c, int num, const char *val) struct autogroupwin *aw; char *p; - aw = xcalloc(1, sizeof(*aw)); + aw = xmalloc(sizeof(*aw)); if ((p = strchr(val, ',')) == NULL) { aw->name = NULL; |