mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 23:36:30 +01:00
alsactl: lock - fix the array size (gcc warning)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
fb97588025
commit
d751320608
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue