From: Nathan Scott Date: Sun, 27 Jul 2003 21:29:31 +0000 (+0000) Subject: Couple of minor xfs_copy build fixes for problems reported via the list X-Git-Tag: v2.6.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a92e6823dd53d0ce70a76ad881e4c3cf4126b7e3;p=thirdparty%2Fxfsprogs-dev.git Couple of minor xfs_copy build fixes for problems reported via the list --- 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")); \