Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
typos fix.
Alexandre Perrin committed 13 years ago
commit 9d505866da71e0e9b7c0ee963982de26f3b6504e
parent ad61c3a502fe5aa953148d326680d0099b427dfd
2 files changed +2 -2
modified libpkg/packing.c
@@ -56,7 +56,7 @@ packing_init(struct packing **pack, const char *path, pkg_formats format)
	assert(pack != NULL);

	if ((*pack = calloc(1, sizeof(struct packing))) == NULL) {
-
		pkg_emit_errno("malloc", "packing");
+
		pkg_emit_errno("calloc", "packing");
		return (EPKG_FATAL);
	}

modified libpkg/pkg.c
@@ -65,7 +65,7 @@ int
pkg_new(struct pkg **pkg, pkg_t type)
{
	if ((*pkg = calloc(1, sizeof(struct pkg))) == NULL) {
-
		pkg_emit_errno("malloc", "pkg");
+
		pkg_emit_errno("calloc", "pkg");
		return EPKG_FATAL;
	}