mirror of
https://github.com/apache/nuttx.git
synced 2026-09-20 12:58:29 +08:00
libs/libc/misc/lib_utsname.c: Fixed return code in uname().
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
|
||||
int uname(FAR struct utsname *name)
|
||||
{
|
||||
int ret = 1;
|
||||
int ret = 0;
|
||||
|
||||
/* Copy the strings. Assure that each is NUL terminated. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user