diff options
Diffstat (limited to 'nuttx/fs/fs_mkdir.c')
-rw-r--r-- | nuttx/fs/fs_mkdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/fs_mkdir.c b/nuttx/fs/fs_mkdir.c index 3564ba7f6..6e201ce34 100644 --- a/nuttx/fs/fs_mkdir.c +++ b/nuttx/fs/fs_mkdir.c @@ -2,7 +2,7 @@ * fs/fs_mkdir.c * * Copyright (C) 2007, 2008 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 @@ -124,7 +124,7 @@ int mkdir(const char *pathname, mode_t mode) errout_with_inode: inode_release(inode); errout: - *get_errno_ptr() = ret; + set_errno(ret); return ERROR; } |