summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsd-core/drm_os_freebsd.h6
-rw-r--r--bsd/drm_os_freebsd.h6
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)