From: Kumar Abhishek Date: Thu, 20 Jul 2017 14:39:00 +0000 (+0000) Subject: beaglelogic: Remove 'as root' from warning message X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=55f26c42de6f6de112e7eb089092e4e15a55d1e6;p=libsigrok.git beaglelogic: Remove 'as root' from warning message Starting with Linux kernel version 4.9, BeagleLogic attributes setting does not require root permissions. Signed-off-by: Kumar Abhishek --- diff --git a/src/hardware/beaglelogic/api.c b/src/hardware/beaglelogic/api.c index c6fcace2..464527ed 100644 --- a/src/hardware/beaglelogic/api.c +++ b/src/hardware/beaglelogic/api.c @@ -209,7 +209,7 @@ static int config_set(uint32_t key, GVariant *data, sr_warn("Insufficient buffer space has been allocated."); sr_warn("Please use \'echo > "\ BEAGLELOGIC_SYSFS_ATTR(memalloc) \ - "\' as root to increase the buffer size, this"\ + "\' to increase the buffer size, this"\ " capture is now truncated to %d Msamples", devc->buffersize / (SAMPLEUNIT_TO_BYTES(devc->sampleunit) * 1000000));