Diff for /freem/src/shmmgr.c between versions 1.10 and 1.11

version 1.10, 2025/04/15 19:26:13 version 1.11, 2025/04/15 21:08:51
Line 24 Line 24
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.   *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *   *
  *   $Log$   *   $Log$
    *   Revision 1.11  2025/04/15 21:08:51  snw
    *   Add some useful debug output
    *
  *   Revision 1.10  2025/04/15 19:26:13  snw   *   Revision 1.10  2025/04/15 19:26:13  snw
  *   Remove extra whitespace   *   Remove extra whitespace
  *   *
Line 172  short shm_init(const size_t seg_size) Line 175  short shm_init(const size_t seg_size)
                 /* grab the pointers we need */                  /* grab the pointers we need */
                 void *old_addr = shm_config->dta;                  void *old_addr = shm_config->dta;
                 void *new_addr = shm_config->hdr->shmad;                  void *new_addr = shm_config->hdr->shmad;
   
                   logprintf (FM_LOG_INFO, "shmmgr:  moving shared memory from %p to %p", old_addr, new_addr);
                                   
                 /* detach and reattach */                  /* detach and reattach */
                 if (shmdt (old_addr) == -1) {                  if (shmdt (old_addr) == -1) {

Removed from v.1.10  
changed lines
  Added in v.1.11


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>