fix a stupid typo
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 21 Feb 2012 12:03:12 +0000 (12:03 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 21 Feb 2012 12:03:12 +0000 (12:03 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11718 d7cf8633-e32d-0410-b094-e92efae38249

zone.c

diff --git a/zone.c b/zone.c
index 207132c..2f756d0 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)