diff --git a/netutils/webserver/httpd_dirlist.c b/netutils/webserver/httpd_dirlist.c index 48226a635..5ef2e18c8 100644 --- a/netutils/webserver/httpd_dirlist.c +++ b/netutils/webserver/httpd_dirlist.c @@ -130,7 +130,7 @@ bool httpd_is_file(FAR const char *filename) snprintf(path, CONFIG_NAME_MAX, "%s/%s", CONFIG_NETUTILS_HTTPD_PATH, filename); - fd = open(path, "O_RDONLY"); + fd = open(path, O_RDONLY); if (-1 != fd) {