Commit b5840b0b7f64de8b1bb9ccb194cf125cdb7d9446

Angus Gratton 2013-12-14T13:59:39

Tag log lines as 'DRB0' rather than 'DRB 0', same as other places in cgminer

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-drillbit.c b/driver-drillbit.c
index 85fdcd3..7827d26 100644
--- a/driver-drillbit.c
+++ b/driver-drillbit.c
@@ -24,7 +24,7 @@
 	if (opt_debug || prio != LOG_DEBUG) { \
 		if (use_syslog || opt_log_output || prio <= opt_log_level) { \
 			char tmp42[LOGBUFSIZ]; \
-			snprintf(tmp42, sizeof(tmp42), "%s %d: "fmt,    \
+			snprintf(tmp42, sizeof(tmp42), "%s%d: "fmt,    \
 			drillbit->drv->name, drillbit->device_id, ##__VA_ARGS__);       \
 			_applog(prio, tmp42, false); \
 		} \