summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-10-14 18:12:35 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-10-14 18:12:35 +0000
commit8f7d1d6976238ccad800e0f54c2907437879459e (patch)
tree0b9f12652cd720bc6713dce2d5e50d0484991729 /src
parentaa2fbb49df30a01805501ef3ea7f170c9ddf8256 (diff)
downloads6-rc-8f7d1d6976238ccad800e0f54c2907437879459e.tar.xz
Typo fix
Diffstat (limited to 'src')
-rw-r--r--src/s6-rc/s6-rc-update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s6-rc/s6-rc-update.c b/src/s6-rc/s6-rc-update.c
index a0db0d5..417718d 100644
--- a/src/s6-rc/s6-rc-update.c
+++ b/src/s6-rc/s6-rc-update.c
@@ -334,7 +334,7 @@ static inline void make_new_livedir (unsigned char const *oldstate, s6rc_db_t co
if (sareadlink(&satmp, live) < 0) strerr_diefu2sys(111, "readlink ", live) ;
if (!s6rc_sanitize_dir(sa, live, &dirlen)) dienomem() ;
llen = sa->len ;
- if (!random_sauniquename(sa, 8)) || !stralloc_0(sa)) dienomem() ;
+ if (!random_sauniquename(sa, 8) || !stralloc_0(sa)) dienomem() ;
newlen = --sa->len ;
if (mkdir(sa->s + sabase, 0755) < 0) strerr_diefu2sys(111, "mkdir ", sa->s + sabase) ;
{