diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-05-31 03:37:56 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-05-31 03:37:56 +0000 |
commit | dbf0085267aaad72de008269045e517007eccb32 (patch) | |
tree | 5d2dd310837b2b5604b1846237da387b3c44c3c7 /xserver | |
parent | 16f0d4f8117b69ebc2ca6a2a0ac2006730d85079 (diff) |
Remove debugging code that was not supposed to leak in.
Diffstat (limited to 'xserver')
-rw-r--r-- | xserver/Xext/shm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xserver/Xext/shm.c b/xserver/Xext/shm.c index 144059df9..be79862cb 100644 --- a/xserver/Xext/shm.c +++ b/xserver/Xext/shm.c @@ -433,13 +433,11 @@ ProcShmAttach(client) shmdesc = (ShmDescPtr) xalloc(sizeof(ShmDescRec)); if (!shmdesc) return BadAlloc; - ErrorF("shmat %u\n", stuff->shmid); shmdesc->addr = shmat(stuff->shmid, 0, stuff->readOnly ? SHM_RDONLY : 0); if ((shmdesc->addr == ((char *)-1)) || shmctl(stuff->shmid, IPC_STAT, &buf)) { - ErrorF("shmat fails shmid: %u\n", stuff->shmid); xfree(shmdesc); return BadAccess; } |