diff options
Diffstat (limited to 'nuttx/fs/fs_rename.c')
-rw-r--r-- | nuttx/fs/fs_rename.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/fs/fs_rename.c b/nuttx/fs/fs_rename.c index 83e0ac368..157775132 100644 --- a/nuttx/fs/fs_rename.c +++ b/nuttx/fs/fs_rename.c @@ -2,7 +2,7 @@ * fs/fs_rename.c * * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -148,7 +148,6 @@ int rename(FAR const char *oldpath, FAR const char *newpath) errout_with_oldinode: inode_release(oldinode); errout: - *get_errno_ptr() = ret; + set_errno(ret); return ERROR; } - |