diff options
author | Andy Lester <andy@petdance.com> | 2006-03-30 17:42:28 -0600 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-03-31 12:30:31 +0000 |
commit | d4c19fe8d8a6e04364af0548bf783e83ab5987d2 (patch) | |
tree | 99c9bda0de1d3d3b176a6b6ec8387cbc8002e990 /doio.c | |
parent | 4d91e28241ad974dc4df24b1f21b7278e74f5310 (diff) | |
download | perl-d4c19fe8d8a6e04364af0548bf783e83ab5987d2.tar.gz |
Random accumulated patches
Message-ID: <20060331054228.GA18940@petdance.com>
p4raw-id: //depot/perl@27641
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2255,7 +2255,7 @@ Perl_do_shmio(pTHX_ I32 optype, SV **mark, SV **sp) SETERRNO(EFAULT,SS_ACCVIO); /* can't do as caller requested */ return -1; } - shm = (char *)shmat(id, (char*)NULL, (optype == OP_SHMREAD) ? SHM_RDONLY : 0); + shm = (char *)shmat(id, NULL, (optype == OP_SHMREAD) ? SHM_RDONLY : 0); if (shm == (char *)-1) /* I hate System V IPC, I really do */ return -1; if (optype == OP_SHMREAD) { |