summaryrefslogtreecommitdiff
path: root/nuttx/libc/string/lib_strdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/string/lib_strdup.c')
-rw-r--r--nuttx/libc/string/lib_strdup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/libc/string/lib_strdup.c b/nuttx/libc/string/lib_strdup.c
index a5b3a1e8c..38eed709c 100644
--- a/nuttx/libc/string/lib_strdup.c
+++ b/nuttx/libc/string/lib_strdup.c
@@ -1,7 +1,7 @@
/************************************************************************
* libc/string//lib_strdup.c
*
- * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009, 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -58,5 +58,6 @@ FAR char *strdup(const char *s)
strcpy(news, s);
}
}
+
return news;
}