Correct spelling: MOUNTPOINT not MOUNTPOUNT. Numerous places. Some are problems. From Woohan Lee

This commit is contained in:
Gregory Nutt
2014-12-01 06:41:30 -06:00
parent 62cb2f3c06
commit fa035373e4
4 changed files with 7 additions and 7 deletions

View File

@@ -53,8 +53,8 @@
* Pre-processor Definitions
****************************************************************************/
#ifndef CONFIG_NSH_PROC_MOUNTPOUNT
# define CONFIG_NSH_PROC_MOUNTPOUNT "/proc"
#ifndef CONFIG_NSH_PROC_MOUNTPOINT
# define CONFIG_NSH_PROC_MOUNTPOINT "/proc"
#endif
#undef HAVE_CPULOAD
@@ -215,7 +215,7 @@ static int loadavg(pid_t pid, FAR char *buffer, size_t buflen)
/* Form the full path to the 'loadavg' pseudo-file */
snprintf(path, sizeof(path), CONFIG_NSH_PROC_MOUNTPOUNT "/%d/loadavg",
snprintf(path, sizeof(path), CONFIG_NSH_PROC_MOUNTPOINT "/%d/loadavg",
(int)pid);
/* Read the 'loadavg' pseudo-file into the user buffer */