Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()

This commit is contained in:
Gregory Nutt
2016-06-11 15:50:49 -06:00
parent e99301d7c2
commit a1469a3e95
1091 changed files with 5971 additions and 5966 deletions
+2 -2
View File
@@ -146,7 +146,7 @@ static int binfs_open(FAR struct file *filep, FAR const char *relpath,
if ((oflags & O_WRONLY) != 0 || (oflags & O_RDONLY) == 0)
{
fdbg("ERROR: Only O_RDONLY supported\n");
ferr("ERROR: Only O_RDONLY supported\n");
return -EACCES;
}
@@ -157,7 +157,7 @@ static int binfs_open(FAR struct file *filep, FAR const char *relpath,
index = builtin_isavail(relpath);
if (index < 0)
{
fdbg("ERROR: Builting %s does not exist\n", relpath);
ferr("ERROR: Builting %s does not exist\n", relpath);
return -ENOENT;
}