summaryrefslogtreecommitdiff
path: root/nuttx/fs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-26 19:53:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-26 19:53:20 +0000
commitf1c2ce14060e4442dd59f6fa89e02b23c2d3989d (patch)
treeaa81a018000664e46a2c0cf81c6d71cf42c1e9aa /nuttx/fs
parent6cafdad8d539bbfbe2a516e46fe41549b8a6b68a (diff)
downloadpx4-nuttx-f1c2ce14060e4442dd59f6fa89e02b23c2d3989d.tar.gz
px4-nuttx-f1c2ce14060e4442dd59f6fa89e02b23c2d3989d.tar.bz2
px4-nuttx-f1c2ce14060e4442dd59f6fa89e02b23c2d3989d.zip
ARM and ARMv7-M ELF support; STM32F4Discovery ELF loader test configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5264 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs')
-rw-r--r--nuttx/fs/fs_stat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/fs/fs_stat.c b/nuttx/fs/fs_stat.c
index cf27e87a6..4df25028f 100644
--- a/nuttx/fs/fs_stat.c
+++ b/nuttx/fs/fs_stat.c
@@ -1,7 +1,7 @@
/****************************************************************************
* fs/fs_stat.c
*
- * Copyright (C) 2007-2009 , 2012Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -122,7 +122,8 @@ static inline int statroot(FAR struct stat *buf)
/****************************************************************************
* Name: stat
*
- * Return: Zero on success; -1 on failure with errno set:
+ * Returned Value:
+ * Zero on success; -1 on failure with errno set:
*
* EACCES Search permission is denied for one of the directories in the
* path prefix of path.
@@ -134,7 +135,7 @@ static inline int statroot(FAR struct stat *buf)
*
****************************************************************************/
-int stat(const char *path, FAR struct stat *buf)
+int stat(FAR const char *path, FAR struct stat *buf)
{
FAR struct inode *inode;
const char *relpath = NULL;