mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 07:12:06 +08:00
Typo fixes.
This commit is contained in:

committed by
Xiang Xiao

parent
614b73d321
commit
bc5d8034f1
@@ -57,16 +57,16 @@
|
||||
#define UNAME_KERNEL (1 << 0)
|
||||
#define UNAME_NODE (1 << 1)
|
||||
#define UNAME_RELEASE (1 << 2)
|
||||
#define UNAME_VERISON (1 << 3)
|
||||
#define UNAME_VERSION (1 << 3)
|
||||
#define UNAME_MACHINE (1 << 4)
|
||||
#define UNAME_PLATFORM (1 << 5)
|
||||
#define UNAME_UNKNOWN (1 << 6)
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
# define UNAME_ALL (UNAME_KERNEL | UNAME_NODE | UNAME_RELEASE | \
|
||||
UNAME_VERISON | UNAME_MACHINE | UNAME_PLATFORM)
|
||||
UNAME_VERSION | UNAME_MACHINE | UNAME_PLATFORM)
|
||||
#else
|
||||
# define UNAME_ALL (UNAME_KERNEL | UNAME_RELEASE | UNAME_VERISON | \
|
||||
# define UNAME_ALL (UNAME_KERNEL | UNAME_RELEASE | UNAME_VERSION | \
|
||||
UNAME_MACHINE | UNAME_PLATFORM)
|
||||
#endif
|
||||
|
||||
@@ -408,7 +408,7 @@ int cmd_uname(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
break;
|
||||
|
||||
case 'v':
|
||||
set |= UNAME_VERISON;
|
||||
set |= UNAME_VERSION;
|
||||
break;
|
||||
|
||||
case 'm':
|
||||
|
Reference in New Issue
Block a user