aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/mlibc/string/strdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/mlibc/string/strdup.c')
-rw-r--r--src/userspace/mlibc/string/strdup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/userspace/mlibc/string/strdup.c b/src/userspace/mlibc/string/strdup.c
index e77536c..6a4fa86 100644
--- a/src/userspace/mlibc/string/strdup.c
+++ b/src/userspace/mlibc/string/strdup.c
@@ -3,9 +3,9 @@
char *strdup(const char *orig)
{
- // size_t s_orig = strlen(orig);
- char *ret = 0;
- // kmalloc(s_orig + 1);
- strcpy(ret, orig);
- return ret;
+ // size_t s_orig = strlen(orig);
+ char *ret = 0;
+ // kmalloc(s_orig + 1);
+ strcpy(ret, orig);
+ return ret;
} \ No newline at end of file