]> sigrok.org Git - libsigrok.git/commitdiff
beaglelogic: Remove 'as root' from warning message
authorKumar Abhishek <redacted>
Thu, 20 Jul 2017 14:39:00 +0000 (14:39 +0000)
committerUwe Hermann <redacted>
Tue, 26 Sep 2017 16:14:31 +0000 (18:14 +0200)
Starting with Linux kernel version 4.9, BeagleLogic attributes
setting does not require root permissions.

Signed-off-by: Kumar Abhishek <redacted>
src/hardware/beaglelogic/api.c

index c6fcace238e0b11c825fe79fa2d205600461bd69..464527edb723ba34f7c4fcb9c715937dd1dbb96c 100644 (file)
@@ -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 <size in bytes> > "\
                                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));