From 2ed669b5b1da77e80fff6dc2f72f11e266479a8c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 5 Mar 2018 01:04:11 +0100 Subject: Fix warnings * libdiskfs/boot-start.c (diskfs_start_bootstrap): Fix printf format. * libfshelp/delegate.c: Include and . * libfshelp/start-translator-long.c: Include . * libshouldbeinlibc/ugids-verify-auth.c (server_verify_make_auth): Fix prototypes for password_check_group and password_check_user. * libstore/argp.c: Include . * libstore/task.c: Include . * exec/exec.c: Include . * libbpf/bpf_impl.c: Include . * proc/info.c (S_proc_getloginpids): Remove local variables leader_task and leader_sub. * proc/main.c (main): Remove local variable original_argv. * boot/boot.c (task_died, S_mach_notify_new_task): Fix printf format. * exec/elfcore.c: Include and . * trans/crash.c: Include . * trans/random.c: Include . * utils/login.c: Include . * utils/id.c: Include . * utils/devprobe.c: Include . * utils/addauth.c: Include . * utils/frobauth-mod.c: Include . * utils/storeread.c: Include . * utils/msgport.c: Include . * sutils/clookup.c (file_name_lookup_carefully): Fix lookup function prototype, make head and tail const. * utils/rpcscan.c: Include . * sutils/bless.c: Include . * fstests/fstests.c: Include . * startup/startup.c (argz_task_insert_right): Fix printf format. * init/init.c: Include . --- boot/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot/boot.c') diff --git a/boot/boot.c b/boot/boot.c index 35577a89..22319757 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -2016,7 +2016,7 @@ static void task_died (mach_port_t name) { if (verbose > 1) - fprintf (stderr, "Task '%u' died.\r\n", name); + fprintf (stderr, "Task '%lu' died.\r\n", name); hurd_ihash_remove (&task_ihash, (hurd_ihash_key_t) name); } @@ -2034,7 +2034,7 @@ S_mach_notify_new_task (mach_port_t notify, return EOPNOTSUPP; if (verbose > 1) - fprintf (stderr, "Task '%u' created by task '%u'.\r\n", task, parent); + fprintf (stderr, "Task '%lu' created by task '%lu'.\r\n", task, parent); err = mach_port_request_notification (mach_task_self (), task, MACH_NOTIFY_DEAD_NAME, 0, -- cgit v1.2.3