diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-16 09:24:51 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-07-16 09:24:51 +0000 |
commit | b8e7e2f623f728bd6a4219917405ae795021386e (patch) | |
tree | 6201d292bc93089a3f03512ca41c9f85bf2ec996 /cpukit/libcsupport | |
parent | 2010-07-16 Sebastian Huber <Sebastian.Huber@embedded-brains.de> (diff) | |
download | rtems-b8e7e2f623f728bd6a4219917405ae795021386e.tar.bz2 |
2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/link.c: Do not overwrite errno with return status.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/link.c b/cpukit/libcsupport/src/link.c index 2b57a61815..11b6521dea 100644 --- a/cpukit/libcsupport/src/link.c +++ b/cpukit/libcsupport/src/link.c @@ -51,7 +51,7 @@ int link( result = (*parent_loc.ops->evalformake_h)( &new[i], &parent_loc, &name_start ); if ( result != 0 ) { rtems_filesystem_freenode( &existing_loc ); - rtems_set_errno_and_return_minus_one( result ); + return -1; } /* |