summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2015-01-24 18:17:00 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2015-01-24 18:17:00 +0000
commit0305d4086c98547c71abcbbd997c485677fa0b0a (patch)
treefd4400d873de6a2ddace2595d429580a4fbbc468
parentac685132c7e94d22135ba16a555fda2065cdaf55 (diff)
calloc -> malloc
-rw-r--r--app/cwm/conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/conf.c b/app/cwm/conf.c
index d4f5ebea8..6e4cdeb2a 100644
--- a/app/cwm/conf.c
+++ b/app/cwm/conf.c
@@ -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;