diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-26 19:53:20 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-26 19:53:20 +0000 |
commit | 7bc6a69f461c9bed82608220960682f3090f742c (patch) | |
tree | aa81a018000664e46a2c0cf81c6d71cf42c1e9aa /nuttx/fs | |
parent | 7f2512627e20e6b07ee2cd1f08e8ba9f07f3cb42 (diff) | |
download | px4-firmware-7bc6a69f461c9bed82608220960682f3090f742c.tar.gz px4-firmware-7bc6a69f461c9bed82608220960682f3090f742c.tar.bz2 px4-firmware-7bc6a69f461c9bed82608220960682f3090f742c.zip |
ARM and ARMv7-M ELF support; STM32F4Discovery ELF loader test configuration
git-svn-id: http://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.c | 7 |
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; |