From: divverent Date: Tue, 21 Feb 2012 12:03:12 +0000 (+0000) Subject: fix a stupid typo X-Git-Tag: xonotic-v0.8.0~96^2~304 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=467b8463f5376945d355117aed6372d3cf7b4e58;p=xonotic%2Fdarkplaces.git fix a stupid typo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11718 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/zone.c b/zone.c index 207132c1..2f756d0e 100644 --- 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)