X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Ffdset.c;h=e67fe6fabfb7fb1bae0b5b56ebadcc4ddda13372;hp=b6d5286f8219546429c8e545a97329f9fa1d558b;hb=5780425ea7f4b649852991bc515fa8ce71ee43dd;hpb=e99e38bbdcca3fe5956823bdb3d38544ccf93221 diff --git a/src/fdset.c b/src/fdset.c index b6d5286f8..e67fe6fab 100644 --- a/src/fdset.c +++ b/src/fdset.c @@ -1,4 +1,4 @@ -/*-*- Mode: C; c-basic-offset: 8 -*-*/ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. @@ -49,7 +49,13 @@ void fdset_free(FDSet *s) { * here, so that the EBADFD that valgrind will return * us on close() doesn't influence us */ - log_warning("Closing left-over fd %i", PTR_TO_FD(p)); + /* When reloading duplicates of the private bus + * connection fds and suchlike are closed here, which + * has no effect at all, since they are only + * duplicates. So don't be surprised about these log + * messages. */ + + log_debug("Closing left-over fd %i", PTR_TO_FD(p)); close_nointr(PTR_TO_FD(p)); } @@ -144,7 +150,6 @@ finish: set_free(MAKE_SET(s)); return r; - } int fdset_cloexec(FDSet *fds, bool b) {