/[LeafOK_CVS]/lbbs/src/menu.c
ViewVC logotype

Diff of /lbbs/src/menu.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.75 by sysadm, Sat Oct 18 12:06:10 2025 UTC Revision 1.76 by sysadm, Sat Oct 18 13:23:50 2025 UTC
# Line 103  int load_menu(MENU_SET *p_menu_set, cons Line 103  int load_menu(MENU_SET *p_menu_set, cons
103          p_menu_set->shmid = shmget(key, size, IPC_CREAT | IPC_EXCL | 0600);          p_menu_set->shmid = shmget(key, size, IPC_CREAT | IPC_EXCL | 0600);
104          if (p_menu_set->shmid == -1)          if (p_menu_set->shmid == -1)
105          {          {
106                  log_error("shmget(conf_file=%s, proj_id=%d, size = %d) error (%d)\n", conf_file, proj_id, size, errno);                  log_error("shmget(conf_file=%s, proj_id=%d, key=%d, size=%d) error (%d)\n",
107                                      conf_file, proj_id, key, size, errno);
108                  return -3;                  return -3;
109          }          }
110          p_menu_set->p_reserved = shmat(p_menu_set->shmid, NULL, 0);          p_menu_set->p_reserved = shmat(p_menu_set->shmid, NULL, 0);


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1