alsactl: lock - fix the array size (gcc warning)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2018-10-14 17:01:38 +02:00
parent fb97588025
commit d751320608

View file

@ -35,7 +35,7 @@ static int state_lock_(const char *file, int lock, int timeout, int _fd)
int fd = -1, err = 0;
struct flock lck;
struct stat st;
char lcktxt[12];
char lcktxt[14];
char *nfile = lockfile;
if (do_lock <= 0)