libs/libc/misc/lib_utsname.c: Fixed return code in uname().

This commit is contained in:
Joao Matos 2019-04-04 10:40:39 -06:00 committed by Gregory Nutt
parent 251009de3a
commit a095dcd6bf

View File

@ -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. */