Additional test command feedback

This commit is contained in:
Lorenz Meier
2016-12-28 15:04:28 +01:00
parent 4c8e353df7
commit 9c2f4503a1
+1 -1
View File
@@ -300,7 +300,7 @@ test(const bool use_i2c, const int bus)
int fd = open(path, O_RDONLY);
if (fd < 0) {
err(1, "%s open failed, is the driver running?", path);
err(1, "%s %s open failed, is the driver running?", (use_i2c) ? "I2C" : "PWM", path);
}
/* do a simple demand read */