From 0a747a8e48403adbe2e40a41d2102fcbfcf13a92 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Fri, 7 Mar 2003 01:52:48 +0000 Subject: [PATCH] Need to define cmn_err in libxfs for all gcc versions, ie. with both of the supported incantations of varargs cpp macros. --- libxfs/xfs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libxfs/xfs.h b/libxfs/xfs.h index 4efeaba9c..aabaa0a5f 100644 --- a/libxfs/xfs.h +++ b/libxfs/xfs.h @@ -279,6 +279,7 @@ typedef struct { dev_t dev; } xfs_buftarg_t; # define printk(msg,args...) ( fprintf(stderr, msg, ## args) ) #else # define xfs_fs_cmn_err(a,b,...) ( fprintf(stderr, __VA_ARGS__) ) +# define cmn_err(a,...) ( fprintf(stderr, __VA_ARGS__) ) # define printk(...) ( fprintf(stderr, __VA_ARGS__) ) #endif -- 2.47.2