diff options
author | Eric Anholt <anholt@freebsd.org> | 2002-06-28 07:10:20 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2002-06-28 07:10:20 +0000 |
commit | d22a19a370ec90004cf5e538c3b6d4f9d98d1758 (patch) | |
tree | 82cfe967577e0e993f2eb54f403dae2297738020 | |
parent | 563bc3158dfc6260a5ae159deab575b469be1167 (diff) |
Fix for compiling on gcc 2.95 (according to rwatson)
-rw-r--r-- | bsd-core/drm_os_freebsd.h | 6 | ||||
-rw-r--r-- | bsd/drm_os_freebsd.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/bsd-core/drm_os_freebsd.h b/bsd-core/drm_os_freebsd.h index 2f5345db..98256e51 100644 --- a/bsd-core/drm_os_freebsd.h +++ b/bsd-core/drm_os_freebsd.h @@ -285,17 +285,17 @@ find_first_zero_bit(atomic_t *p, int max) /* Macros to make printf easier */ #define DRM_ERROR(fmt, arg...) \ - printf("error: " "[" DRM_NAME ":%s] *ERROR* " fmt , __FUNCTION__, ##arg) + printf("error: " "[" DRM_NAME ":%s] *ERROR* " fmt , __FUNCTION__, ## arg) #define DRM_MEM_ERROR(area, fmt, arg...) \ printf("error: " "[" DRM_NAME ":%s:%s] *ERROR* " fmt , \ __FUNCTION__, DRM(mem_stats)[area].name , ##arg) -#define DRM_INFO(fmt, arg...) printf("info: " "[" DRM_NAME "] " fmt , ##arg) +#define DRM_INFO(fmt, arg...) printf("info: " "[" DRM_NAME "] " fmt , ## arg) #if DRM_DEBUG_CODE #define DRM_DEBUG(fmt, arg...) \ do { \ if (DRM(flags) & DRM_FLAG_DEBUG) \ - printf("[" DRM_NAME ":%s] " fmt , __FUNCTION__, ##arg); \ + printf("[" DRM_NAME ":%s] " fmt , __FUNCTION__, ## arg); \ } while (0) #else #define DRM_DEBUG(fmt, arg...) do { } while (0) diff --git a/bsd/drm_os_freebsd.h b/bsd/drm_os_freebsd.h index 2f5345db..98256e51 100644 --- a/bsd/drm_os_freebsd.h +++ b/bsd/drm_os_freebsd.h @@ -285,17 +285,17 @@ find_first_zero_bit(atomic_t *p, int max) /* Macros to make printf easier */ #define DRM_ERROR(fmt, arg...) \ - printf("error: " "[" DRM_NAME ":%s] *ERROR* " fmt , __FUNCTION__, ##arg) + printf("error: " "[" DRM_NAME ":%s] *ERROR* " fmt , __FUNCTION__, ## arg) #define DRM_MEM_ERROR(area, fmt, arg...) \ printf("error: " "[" DRM_NAME ":%s:%s] *ERROR* " fmt , \ __FUNCTION__, DRM(mem_stats)[area].name , ##arg) -#define DRM_INFO(fmt, arg...) printf("info: " "[" DRM_NAME "] " fmt , ##arg) +#define DRM_INFO(fmt, arg...) printf("info: " "[" DRM_NAME "] " fmt , ## arg) #if DRM_DEBUG_CODE #define DRM_DEBUG(fmt, arg...) \ do { \ if (DRM(flags) & DRM_FLAG_DEBUG) \ - printf("[" DRM_NAME ":%s] " fmt , __FUNCTION__, ##arg); \ + printf("[" DRM_NAME ":%s] " fmt , __FUNCTION__, ## arg); \ } while (0) #else #define DRM_DEBUG(fmt, arg...) do { } while (0) |