Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions testing/drivers/fftest/fftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include <string.h>
#include <unistd.h>

#include <sys/ioctl.h>

#include <nuttx/bits.h>
#include <nuttx/fs/ioctl.h>
#include <nuttx/input/ff.h>
Expand Down
4 changes: 3 additions & 1 deletion testing/mm/cachetest/cachetest_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
****************************************************************************/

#include <nuttx/config.h>
#include <nuttx/cache.h>

#include <stdio.h>
#include <syslog.h>

Expand Down Expand Up @@ -251,7 +253,7 @@ int main(int argc, FAR char *argv[])
}
else
{
syslog(LOG_INFO, CACHETEST_PREFIX "comparsion success!\n");
syslog(LOG_INFO, CACHETEST_PREFIX "comparison success!\n");
}

/* To prevent tasks from being occupied all the time, switch
Expand Down
4 changes: 2 additions & 2 deletions testing/testsuites/kernel/socket/cases/net_socket_test_010.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static char *ifindex2name(int fd, unsigned index, char *name)
int ret;

ifr.ifr_ifindex = index;
ret = ioctl(fd, siocgifname, &ifr);
ret = ioctl(fd, SIOCGIFNAME, &ifr);
if (ret < 0)
{
return NULL;
Expand Down Expand Up @@ -185,7 +185,7 @@ static int ioctltestinternal(int sfd)
assert_int_equal(ret, lanindex);

ifr.ifr_ifindex = lanindex;
ret = ioctl(sfd, siocgifname, &ifr);
ret = ioctl(sfd, SIOCGIFNAME, &ifr);
assert_int_equal(ret, 0);
syslog(LOG_INFO, "name of ifindex %u: %s", lanindex, ifr.ifr_name);
assert_string_equal(ifr.ifr_name, lanname);
Expand Down
Loading