diff --git a/libs/libc/misc/lib_utsname.c b/libs/libc/misc/lib_utsname.c index 07f4b074ff..c14bab0605 100644 --- a/libs/libc/misc/lib_utsname.c +++ b/libs/libc/misc/lib_utsname.c @@ -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. */