All of lore.kernel.org
 help / color / mirror / Atom feed
* master - command: we don't have all standard macros
@ 2017-06-28 13:06 Zdenek Kabelac
  0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2017-06-28 13:06 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7ba6896962d8fe34139d3d6d49fc08430fbc641a
Commit:        7ba6896962d8fe34139d3d6d49fc08430fbc641a
Parent:        a533892cd3bcb6abd0d0ee3f35f059850e540238
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Wed Jun 28 15:05:16 2017 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Wed Jun 28 15:05:16 2017 +0200

command: we don't have all standard macros

So just quite warning
---
 tools/command.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/tools/command.c b/tools/command.c
index e2e60a3..afd8831 100644
--- a/tools/command.c
+++ b/tools/command.c
@@ -3304,8 +3304,7 @@ static int include_description_file(char *name, char *des_file)
 out_free:
 	dm_free(buf);
 out_close:
-	if (close(fd))
-		log_sys_debug("close", des_file);
+	(void) close(fd);
 
 	return r;
 }



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-28 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-28 13:06 master - command: we don't have all standard macros Zdenek Kabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.