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 <abhishek@theembeddedkitchen.net>
This commit is contained in:
parent
713f3f8480
commit
55f26c42de
|
@ -209,7 +209,7 @@ static int config_set(uint32_t key, GVariant *data,
|
||||||
sr_warn("Insufficient buffer space has been allocated.");
|
sr_warn("Insufficient buffer space has been allocated.");
|
||||||
sr_warn("Please use \'echo <size in bytes> > "\
|
sr_warn("Please use \'echo <size in bytes> > "\
|
||||||
BEAGLELOGIC_SYSFS_ATTR(memalloc) \
|
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",
|
" capture is now truncated to %d Msamples",
|
||||||
devc->buffersize /
|
devc->buffersize /
|
||||||
(SAMPLEUNIT_TO_BYTES(devc->sampleunit) * 1000000));
|
(SAMPLEUNIT_TO_BYTES(devc->sampleunit) * 1000000));
|
||||||
|
|
Loading…
Reference in New Issue