summaryrefslogtreecommitdiff
path: root/src/fdholder/s6-fdholder-transferdumpc.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-26 22:26:57 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-26 22:26:57 +0000
commit8bffa1c19fd05f4f04dad4b5b98f85b94f23113c (patch)
treef4e25c3cdb7118db02a06c85b7862107a2074ba4 /src/fdholder/s6-fdholder-transferdumpc.c
parent49cb17940e403431566dc7b5a312624f14eb25d0 (diff)
downloads6-8bffa1c19fd05f4f04dad4b5b98f85b94f23113c.tar.xz
- added s6-fdholder-delete(c)
- small s6-fdholder-* fixes - s6-fdholder documentation (in review) - s6_svstatus_* bugfix (thanks Olivier Brunel)
Diffstat (limited to 'src/fdholder/s6-fdholder-transferdumpc.c')
-rw-r--r--src/fdholder/s6-fdholder-transferdumpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fdholder/s6-fdholder-transferdumpc.c b/src/fdholder/s6-fdholder-transferdumpc.c
index e0ed069..b5be170 100644
--- a/src/fdholder/s6-fdholder-transferdumpc.c
+++ b/src/fdholder/s6-fdholder-transferdumpc.c
@@ -41,11 +41,11 @@ int main (int argc, char const *const *argv, char const *const *envp)
tain_now_g() ;
tain_add_g(&deadline, &deadline) ;
if (!s6_fdholder_getdump_g(&a, &dump, &deadline))
- strerr_diefu1sys(111, "get dump") ;
+ strerr_diefu1sys(1, "get dump") ;
s6_fdholder_free(&a) ;
s6_fdholder_init(&a, 1) ;
tain_add_g(&deadline, &totto) ;
if (!s6_fdholder_setdump_g(&a, genalloc_s(s6_fdholder_fd_t, &dump), genalloc_len(s6_fdholder_fd_t, &dump), &deadline))
- strerr_diefu1sys(111, "set dump") ;
+ strerr_diefu1sys(1, "set dump") ;
return 0 ;
}