aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2015-01-24 18:16:59 +0000
committerokan2015-01-24 18:16:59 +0000
commitf7cb1f8b52e651a97ac3daeed402dcda04ce9333 (patch)
tree6a9186caf4ce572fd9971a5a3fd4e663799d848b /conf.c
parent57ffed7fbdbdcf935370a75f27977ce935f84a77 (diff)
downloadcwm-f7cb1f8b52e651a97ac3daeed402dcda04ce9333.tar.gz
calloc -> malloc
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.c b/conf.c
index d4f5ebe..6e4cdeb 100644
--- a/conf.c
+++ b/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;