mirror of
https://github.com/akuker/RASCSI.git
synced 2026-04-20 11:17:58 +00:00
Clarify docs and error strings for scsimon (#1175)
* Better usage hints in scsimon man page * In error message, clarify that piscsi needs to be shut down
This commit is contained in:
@@ -183,7 +183,7 @@ bool GPIOBUS_Raspberry::Init(mode_e mode)
|
||||
// GPIO chip open
|
||||
fd = open("/dev/gpiochip0", 0);
|
||||
if (fd == -1) {
|
||||
LOGERROR("Unable to open /dev/gpiochip0. Is PiSCSI or RaSCSI already running?")
|
||||
LOGERROR("Unable to open /dev/gpiochip0. If PiSCSI is running, please shut it down first.")
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ bool GPIOBUS_Raspberry::Init(mode_e mode)
|
||||
|
||||
// Get event request
|
||||
if (ioctl(fd, GPIO_GET_LINEEVENT_IOCTL, &selevreq) == -1) {
|
||||
LOGERROR("Unable to register event request. Is PiSCSI or RaSCSI already running?")
|
||||
LOGERROR("Unable to register event request. If PiSCSI is running, please shut it down first.")
|
||||
close(fd);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user