summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/create_module.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/create_module.c b/libc/sysdeps/linux/common/create_module.c
index 9a5c2d267..f15bb18c5 100644
--- a/libc/sysdeps/linux/common/create_module.c
+++ b/libc/sysdeps/linux/common/create_module.c
@@ -1,8 +1,10 @@
/* vi: set sw=4 ts=4: */
-/* Syscalls for uClibc
+/*
+ * create_module syscall for uClibc
*
- * Copyright (C) 2000 by Lineo, inc. and Erik Andersen
* Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include <errno.h>
@@ -18,8 +20,8 @@ unsigned long create_module(const char *name, size_t size);
#if defined(__UCLIBC_BROKEN_CREATE_MODULE__)
# define __NR___create_module __NR_create_module
static inline _syscall2(long, __create_module, const char *, name, size_t, size);
-/* By checking the value of errno, we know if we have been fooled
- * by the syscall2 macro making a very high address look like a
+/* By checking the value of errno, we know if we have been fooled
+ * by the syscall2 macro making a very high address look like a
* negative, so we we fix it up here. */
unsigned long create_module(const char *name, size_t size)
{
@@ -40,10 +42,10 @@ static inline _syscall4(unsigned long, __create_module, const char *, name,
size_t, size, size_t, dummy, size_t, err);
unsigned long create_module(const char *name, size_t size)
{
- return __create_module(name, size, 0, 0);
+ return __create_module(name, size, 0, 0);
}
#else
-/* Sparc, MIPS, etc don't mistake return values for errors. */
+/* Sparc, MIPS, etc don't mistake return values for errors. */
_syscall2(unsigned long, create_module, const char *, name, size_t, size);
#endif