Author: bapt Date: Thu Aug 27 05:27:18 2015 New Revision: 287191 URL: https://svnweb.freebsd.org/changeset/base/287191
Log: Fix typo in new macros Modified: head/sys/dev/drm2/drmP.h Modified: head/sys/dev/drm2/drmP.h ============================================================================== --- head/sys/dev/drm2/drmP.h Thu Aug 27 04:25:27 2015 (r287190) +++ head/sys/dev/drm2/drmP.h Thu Aug 27 05:27:18 2015 (r287191) @@ -216,21 +216,21 @@ struct drm_device; __func__ , ##__VA_ARGS__); \ } while (0) -#define DRM_LOG(fmt, args...) do { \ +#define DRM_LOG(fmt, args, ...) do { \ if ((drm_debug & DRM_DEBUGBITS_KMS) != 0) \ printf("[" DRM_NAME "]:pid%d:%s]" fmt, DRM_CURRENTPID,\ __func__ , ##__VA_ARGS__); \ } while (0) -#define DRM_LOG_KMS(fmt, args...) do { \ +#define DRM_LOG_KMS(fmt, args, ...) do { \ if ((drm_debug & DRM_DEBUGBITS_KMS) != 0) \ printf("[" DRM_NAME "]:KMS:pid%d:%s]" fmt, DRM_CURRENTPID,\ __func__ , ##__VA_ARGS__); \ } while (0) -#define DRM_LOG_MODE(fmt, args...) do { \ +#define DRM_LOG_MODE(fmt, args, ...) do { \ if ((drm_debug & DRM_DEBUGBITS_KMS) != 0) \ - printf("[" DRM_NAME "]:pid%d:%s]" fmt, DRM_CURRENTPID,\ + printf("[" DRM_NAME "]:pid%d:%s]" fmt, DRM_CURRENTPID, \ __func__ , ##__VA_ARGS__); \ } while (0) _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"