Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2016 17:29:21 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r305749 - head/sys/dev/evdev
Message-ID:  <201609121729.u8CHTL7K021786@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Mon Sep 12 17:29:20 2016
New Revision: 305749
URL: https://svnweb.freebsd.org/changeset/base/305749

Log:
  Remove semicolon from the end of the macro definition
  
  Reported by: hans

Modified:
  head/sys/dev/evdev/cdev.c
  head/sys/dev/evdev/uinput.c

Modified: head/sys/dev/evdev/cdev.c
==============================================================================
--- head/sys/dev/evdev/cdev.c	Mon Sep 12 17:05:42 2016	(r305748)
+++ head/sys/dev/evdev/cdev.c	Mon Sep 12 17:29:20 2016	(r305749)
@@ -49,7 +49,7 @@
 #include <dev/evdev/evdev_private.h>
 
 #ifdef EVDEV_DEBUG
-#define	debugf(client, fmt, args...)	printf("evdev cdev: "fmt"\n", ##args);
+#define	debugf(client, fmt, args...)	printf("evdev cdev: "fmt"\n", ##args)
 #else
 #define	debugf(client, fmt, args...)
 #endif

Modified: head/sys/dev/evdev/uinput.c
==============================================================================
--- head/sys/dev/evdev/uinput.c	Mon Sep 12 17:05:42 2016	(r305748)
+++ head/sys/dev/evdev/uinput.c	Mon Sep 12 17:29:20 2016	(r305749)
@@ -50,7 +50,7 @@
 #include <dev/evdev/evdev_private.h>
 
 #ifdef UINPUT_DEBUG
-#define	debugf(state, fmt, args...)	printf("uinput: " fmt "\n", ##args);
+#define	debugf(state, fmt, args...)	printf("uinput: " fmt "\n", ##args)
 #else
 #define	debugf(state, fmt, args...)
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609121729.u8CHTL7K021786>