diff options
| author | [email protected] <[email protected]> | 2012-03-15 14:20:06 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-03-15 14:20:06 +0000 |
| commit | 8a960a86f57e1bad6248e508d82e42d562af04b8 (patch) | |
| tree | 68cb5a3346bd6e47bcdda04d8c4897b4a20a67a2 | |
| parent | 7022b8285fc3e61747996fa488241bb30cff3569 (diff) | |
fixed finsh_sysvar_append bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1996 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | components/finsh/finsh_var.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/finsh_var.c b/components/finsh/finsh_var.c index fc2fa27aea..7d8cde709a 100644 --- a/components/finsh/finsh_var.c +++ b/components/finsh/finsh_var.c @@ -108,7 +108,7 @@ void finsh_sysvar_append(const char* name, u_char type, void* var_addr) else { item->next = global_sysvar_list; - global_sysvar_list->next = item; + global_sysvar_list = item; } } } |
