Fix two uses of DEBUG_COLORATION vs STACK_COLORATION (from David Sidrane). Also some corrected comments

This commit is contained in:
Gregory Nutt
2015-03-05 06:41:14 -06:00
parent d68594d6fa
commit 404fef74d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/sam34/sam_udphs.h * arch/arm/src/sam34/sam_udp.h
* *
* Copyright (C) 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
+1 -1
View File
@@ -631,7 +631,7 @@ static ssize_t proc_stack(FAR struct proc_file_s *procfile,
buffer += copysize; buffer += copysize;
remaining -= copysize; remaining -= copysize;
#ifdef CONFIG_DEBUG_COLORATION #ifdef CONFIG_STACK_COLORATION
if (totalsize >= buflen) if (totalsize >= buflen)
{ {
return totalsize; return totalsize;