From 467b8463f5376945d355117aed6372d3cf7b4e58 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 21 Feb 2012 12:03:12 +0000 Subject: [PATCH] fix a stupid typo git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11718 d7cf8633-e32d-0410-b094-e92efae38249 --- zone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2