From ef3354e22ea74f7cdb3405041e02374f7de8e880 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 30 Aug 2016 22:42:22 +0200 Subject: Fix message about not being able to request shutdown notification It is just a warning, not a fatal error. * libdiskfs/init-startup.c (_diskfs_init_completed): Prefix warning about requesting shutdown nofication with "warning:". * random/random.c (main): Likewise. --- libdiskfs/init-startup.c | 2 +- random/random.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libdiskfs/init-startup.c b/libdiskfs/init-startup.c index 14da0031..c1407ed4 100644 --- a/libdiskfs/init-startup.c +++ b/libdiskfs/init-startup.c @@ -223,5 +223,5 @@ _diskfs_init_completed () return; errout: - error (0, err, "Cannot request shutdown notification"); + error (0, err, "Warning: cannot request shutdown notification"); } diff --git a/random/random.c b/random/random.c index 8f76c5ba..828e83af 100644 --- a/random/random.c +++ b/random/random.c @@ -639,7 +639,7 @@ main (int argc, char **argv) err = arrange_shutdown_notification (); if (err) - error (0, err, "Cannot request shutdown notification"); + error (0, err, "Warning: cannot request shutdown notification"); /* Launch. */ ports_manage_port_operations_multithread (fsys->pi.bucket, random_demuxer, -- cgit v1.2.3