diff options
Diffstat (limited to 'libmachdev/ds_routines.c')
-rw-r--r-- | libmachdev/ds_routines.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c index aeb7f5af..cdb820fb 100644 --- a/libmachdev/ds_routines.c +++ b/libmachdev/ds_routines.c @@ -62,6 +62,7 @@ #include <string.h> #include <error.h> #include <assert.h> +#include <pthread.h> #include <hurd.h> #include <mach.h> @@ -367,6 +368,8 @@ machdev_register (struct machdev_device_emulation_ops *ops) void * machdev_server(void *arg) { + pthread_setname_np (pthread_self (), "machdev_server"); + /* Launch. */ do { |