修正一些拼写错误。

This commit is contained in:
钟安
2015-12-03 11:29:03 +08:00
parent 02a6ab32e2
commit 13aaff2376
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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);