From d75132060878d8f9586014755630f00799b00246 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 14 Oct 2018 17:01:38 +0200 Subject: [PATCH] alsactl: lock - fix the array size (gcc warning) Signed-off-by: Jaroslav Kysela --- alsactl/lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alsactl/lock.c b/alsactl/lock.c index 706092d..4a48539 100644 --- a/alsactl/lock.c +++ b/alsactl/lock.c @@ -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)