修正一些拼写错误。
This commit is contained in:
@@ -344,7 +344,7 @@ static void init_sem(int *semid, CONFIG_FILE_ST *ptr)
|
||||
}
|
||||
|
||||
static int global_share_id = -1;
|
||||
static int dir_share_id -1;
|
||||
static int dir_share_id = -1;
|
||||
static void *global_shmptr = NULL;
|
||||
|
||||
static void init_shm(SHM **ptr, CONFIG_FILE_ST *p)
|
||||
@@ -1498,6 +1498,8 @@ int main(int argc, char ** argv)
|
||||
D5000_NIC_ALARM Malarm;
|
||||
struct sigaction sig;
|
||||
struct passwd *user;
|
||||
|
||||
#define TESTINTERVAL
|
||||
#ifndef TESTINTERVAL
|
||||
proc_invocation prcm;
|
||||
#endif
|
||||
|
||||
@@ -297,7 +297,7 @@ int get_nic_info(char *nic_name, NETCARD_INFO *net_info)
|
||||
struct passwd *user;
|
||||
int shm_id;
|
||||
int shm_key = 0x1d6010;
|
||||
char *shm_buff;
|
||||
char *shm_buf;
|
||||
#if 0
|
||||
snprintf(err_str, sizeof(err_str), "NOTICE: get nicinfo:%s !\n", nic_name);
|
||||
record_log(err_str);
|
||||
|
||||
Reference in New Issue
Block a user