From a92e6823dd53d0ce70a76ad881e4c3cf4126b7e3 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Sun, 27 Jul 2003 21:29:31 +0000 Subject: [PATCH] Couple of minor xfs_copy build fixes for problems reported via the list --- copy/Makefile | 1 + copy/xfs_copy.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/copy/Makefile b/copy/Makefile index 5a8de52ad..e9b1d1f9f 100644 --- a/copy/Makefile +++ b/copy/Makefile @@ -35,6 +35,7 @@ include $(TOPDIR)/include/builddefs LTCOMMAND = xfs_copy CFILES = xfs_copy.c +HFILES = xfs_copy.h LLDLIBS = $(LIBXFS) $(LIBUUID) $(LIBPTHREAD) LTDEPENDENCIES = $(LIBXFS) diff --git a/copy/xfs_copy.c b/copy/xfs_copy.c index f92225b50..782552057 100644 --- a/copy/xfs_copy.c +++ b/copy/xfs_copy.c @@ -129,7 +129,7 @@ do_message(int flags, int code, const char *fmt, ...) #define do_error(e,s) do_message(ERR|LOG|PRE, e, s) #define do_fatal(e,s) do_message(ERR|LOG|PRE|LAST, e, s) #define do_vfatal(e,s,args...) do_message(ERR|LOG|PRE|LAST, e, s, ## args) -#define die_perror(void) \ +#define die_perror() \ do { \ do_message(ERR|LOG|PRE|LAST, errno, \ _("Aborting XFS copy - reason")); \ -- 2.47.2