diff options
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_symlink.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index ee0f3497d9..32c43909be 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com> + + * libfs/src/imfs/imfs_symlink.c: Spacing. + 2009-12-28 Shrikant Gaikwad <n3oo3n@gmail.com> * cpukit/libfs/src/pipe/pipe.c Restructured code to remove the diff --git a/cpukit/libfs/src/imfs/imfs_symlink.c b/cpukit/libfs/src/imfs/imfs_symlink.c index 36a52e50fb..d82a67d46f 100644 --- a/cpukit/libfs/src/imfs/imfs_symlink.c +++ b/cpukit/libfs/src/imfs/imfs_symlink.c @@ -5,7 +5,7 @@ * with the name given in name. The node is set to point to the node at * to_loc. * - * COPYRIGHT (c) 1989-1999. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -47,9 +47,9 @@ int IMFS_symlink( * Duplicate link name */ - info.sym_link.name = strdup( link_name); + info.sym_link.name = strdup(link_name); if (info.sym_link.name == NULL) { - rtems_set_errno_and_return_minus_one( ENOMEM); + rtems_set_errno_and_return_minus_one(ENOMEM); } /* @@ -65,8 +65,8 @@ int IMFS_symlink( ); if (new_node == NULL) { - free( info.sym_link.name); - rtems_set_errno_and_return_minus_one( ENOMEM); + free(info.sym_link.name); + rtems_set_errno_and_return_minus_one(ENOMEM); } return 0; |