summaryrefslogtreecommitdiff
path: root/src/libs6/s6lock_release.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-09-02 19:11:11 +0000
committerLaurent Bercot <ska@appnovation.com>2021-09-02 19:11:11 +0000
commitd9488baa63351cafd237f5af15018ea5898ec0bc (patch)
tree9704741988528c28a8cb51c1e60fae56d712ab6d /src/libs6/s6lock_release.c
parent208dc53700866d413efaf7374ebd9dbaeaee6551 (diff)
downloads6-d9488baa63351cafd237f5af15018ea5898ec0bc.tar.xz
Pass errno as unsigned char
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libs6/s6lock_release.c')
-rw-r--r--src/libs6/s6lock_release.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6/s6lock_release.c b/src/libs6/s6lock_release.c
index 96fa3d0..2c045a6 100644
--- a/src/libs6/s6lock_release.c
+++ b/src/libs6/s6lock_release.c
@@ -9,7 +9,7 @@
int s6lock_release (s6lock_t *a, uint16_t i, tain const *deadline, tain *stamp)
{
- char *p = GENSETDYN_P(char, &a->data, i) ;
+ unsigned char *p = GENSETDYN_P(unsigned char, &a->data, i) ;
char pack[3] = "-->" ;
if ((*p != EBUSY) && !error_isagain(*p))
{