]> git.proxmox.com Git - wasi-libc.git/commitdiff
fix comment to correspond existing coding style
authorvms <michail.vms@gmail.com>
Sat, 4 May 2019 17:48:05 +0000 (20:48 +0300)
committerDan Gohman <sunfish@mozilla.com>
Mon, 6 May 2019 16:46:36 +0000 (09:46 -0700)
libc-bottom-half/mman/mman.c

index c2bc547ab83ad94057cc7d526d4c18ca9a8dbd62..4d7fa77be38e3d0ac5459e9d7a01e62f2eae347f 100644 (file)
@@ -58,7 +58,7 @@ void *mmap(void *addr, size_t length, int prot, int flags,
         return MAP_FAILED;
     }
 
-    // Check for overflow
+    // Check for integer overflow.
     if(sizeof(struct map) + length < sizeof(struct map)) {
         errno = EINVAL;
         return MAP_FAILED;