diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/hurd/ioctl.h | 2 | ||||
-rw-r--r-- | hurd/hurdmalloc.c | 10 | ||||
-rw-r--r-- | hurd/xattr.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/hurd/hurd/ioctl.h b/hurd/hurd/ioctl.h index 4db186febd..6c6b6979d8 100644 --- a/hurd/hurd/ioctl.h +++ b/hurd/hurd/ioctl.h @@ -54,7 +54,7 @@ extern int hurd_register_ioctl_handler (int first_request, int last_request, #define _HURD_HANDLE_IOCTLS_1(handler, first, last, moniker) \ static const struct ioctl_handler handler##_ioctl_handler##moniker \ - __attribute__ ((__unused__)) = \ + __attribute__ ((__unused__)) = \ { _IOC_NOTYPE (first), _IOC_NOTYPE (last), \ (ioctl_handler_t) (handler), NULL }; \ text_set_element (_hurd_ioctl_handler_lists, \ diff --git a/hurd/hurdmalloc.c b/hurd/hurdmalloc.c index 12da1f2abc..8724261376 100644 --- a/hurd/hurdmalloc.c +++ b/hurd/hurdmalloc.c @@ -382,15 +382,15 @@ realloc(old_base, new_size) void print_malloc_free_list() { - register int i, size; + register int i, size; register free_list_t fl; register int n; - register header_t h; + register header_t h; int total_used = 0; int total_free = 0; fprintf(stderr, " Size In Use Free Total\n"); - for (i = 0, size = MIN_SIZE, fl = malloc_free_list; + for (i = 0, size = MIN_SIZE, fl = malloc_free_list; i < NBUCKETS; i += 1, size <<= 1, fl += 1) { spin_lock(&fl->lock); @@ -403,8 +403,8 @@ print_malloc_free_list() size, fl->in_use, n, fl->in_use + n); } spin_unlock(&fl->lock); - } - fprintf(stderr, " all sizes %10d %10d %10d\n", + } + fprintf(stderr, " all sizes %10d %10d %10d\n", total_used, total_free, total_used + total_free); } #endif /* DEBUG */ diff --git a/hurd/xattr.c b/hurd/xattr.c index 70e0990f43..f22cd59214 100644 --- a/hurd/xattr.c +++ b/hurd/xattr.c @@ -29,7 +29,7 @@ gnu.author empty if st_author==st_uid uid_t giving st_author value gnu.translator empty if no passive translator - translator and arguments: "/hurd/foo\0arg1\0arg2\0" + translator and arguments: "/hurd/foo\0arg1\0arg2\0" */ error_t |