From 2b62f5a7c8fbe843e7ac3b22483e2645abfc5068 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 29 Jun 2008 19:04:02 +0000 Subject: [PATCH] Adjust comments. Reported-by: Jordan Gordeev --- sys/platform/pc32/i386/tls.c | 6 +++--- sys/platform/pc64/amd64/tls.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/platform/pc32/i386/tls.c b/sys/platform/pc32/i386/tls.c index c9629f05a8..e29b7a523e 100644 --- a/sys/platform/pc32/i386/tls.c +++ b/sys/platform/pc32/i386/tls.c @@ -31,7 +31,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $DragonFly: src/sys/platform/pc32/i386/tls.c,v 1.8 2007/01/08 03:33:42 dillon Exp $ + * $DragonFly: src/sys/platform/pc32/i386/tls.c,v 1.9 2008/06/29 19:04:01 dillon Exp $ */ #include @@ -62,7 +62,7 @@ * Returns the value userland needs to load into %gs representing the * TLS descriptor or -1 on error. * - * (struct tls_info *info, int infosize, int which) + * (int which, struct tls_info *info, size_t infosize) */ int sys_set_tls_area(struct set_tls_area_args *uap) @@ -154,7 +154,7 @@ sys_set_tls_area(struct set_tls_area_args *uap) * Returns the value userland needs to load into %gs representing the * TLS descriptor or -1 on error. * - * (struct tls_info *info, int infosize, int which) + * (int which, struct tls_info *info, size_t infosize) */ int sys_get_tls_area(struct get_tls_area_args *uap) diff --git a/sys/platform/pc64/amd64/tls.c b/sys/platform/pc64/amd64/tls.c index 94fc64b260..3331ed8479 100644 --- a/sys/platform/pc64/amd64/tls.c +++ b/sys/platform/pc64/amd64/tls.c @@ -31,7 +31,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $DragonFly: src/sys/platform/pc64/amd64/tls.c,v 1.2 2007/09/24 03:24:45 yanyh Exp $ + * $DragonFly: src/sys/platform/pc64/amd64/tls.c,v 1.3 2008/06/29 19:04:02 dillon Exp $ */ #include @@ -61,7 +61,7 @@ * Returns the value userland needs to load into %gs representing the * TLS descriptor or -1 on error. * - * (struct tls_info *info, int infosize, int which) + * (int which, struct tls_info *info, size_t infosize) */ int sys_set_tls_area(struct set_tls_area_args *uap) @@ -153,7 +153,7 @@ sys_set_tls_area(struct set_tls_area_args *uap) * Returns the value userland needs to load into %gs representing the * TLS descriptor or -1 on error. * - * (struct tls_info *info, int infosize, int which) + * (int which, struct tls_info *info, size_t infosize) */ int sys_get_tls_area(struct get_tls_area_args *uap) -- 2.11.4.GIT