Additional test command feedback

This commit is contained in:
Lorenz Meier 2016-12-28 15:04:13 +01:00
parent 4c8e353df7
commit 9c2f4503a1
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ test(const bool use_i2c, const int bus)
int fd = open(path, O_RDONLY); int fd = open(path, O_RDONLY);
if (fd < 0) { 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 */ /* do a simple demand read */