LPC17xx serial now supports minimal termios ioctls; serial driver ioctl methods should not set errno variable

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4994 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-07-31 23:45:21 +00:00
parent cb77f5961d
commit 8a4cf655d7
12 changed files with 165 additions and 106 deletions
+1 -2
View File
@@ -519,8 +519,7 @@ static int z16f_txinterrupt(int irq, void *context)
static int z16f_ioctl(struct file *filep, int cmd, unsigned long arg)
{
*get_errno_ptr() = ENOTTY;
return ERROR;
return -ENOTTY;
}
/****************************************************************************