]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a stupid typo
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 21 Feb 2012 12:03:12 +0000 (12:03 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 21 Feb 2012 13:53:12 +0000 (14:53 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11718 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=467b8463f5376945d355117aed6372d3cf7b4e58

zone.c

diff --git a/zone.c b/zone.c
index 207132c100966588adcb7bd36ecc2a14198ed131..2f756d0ea803601a9d7d2ce64368f889516068d3 100644 (file)
--- a/zone.c
+++ b/zone.c
@@ -117,7 +117,7 @@ static void *mmap_malloc(size_t size)
        char *tmpdir = getenv("TEMP");
        mmap_data_t *data;
        int fd;
-       size += sizeof(mmap-data_t); // waste block
+       size += sizeof(mmap_data_t); // waste block
        dpsnprintf(vabuf, sizeof(vabuf), "%s/darkplaces.XXXXXX", tmpdir ? tmpdir : "/tmp");
        fd = mkstemp(vabuf);
        if(fd < 0)