about summary refs log tree commit diff
path: root/src/daemontools-extras/s6-envuidgid.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-03-20 14:53:40 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-03-20 14:53:40 +0000
commit0ac0edeb54f57d1b3fbd657c3de2e4db39121c1c (patch)
tree44ede715167845dbd0c14ec1465b2e529d6224b9 /src/daemontools-extras/s6-envuidgid.c
parent75943dc1d530660544ee0eafa2673638e1a16604 (diff)
downloads6-0ac0edeb54f57d1b3fbd657c3de2e4db39121c1c.tar.gz
s6-0ac0edeb54f57d1b3fbd657c3de2e4db39121c1c.tar.xz
s6-0ac0edeb54f57d1b3fbd657c3de2e4db39121c1c.zip
Fix error message in s6-envuidgid
Diffstat (limited to 'src/daemontools-extras/s6-envuidgid.c')
-rw-r--r--src/daemontools-extras/s6-envuidgid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemontools-extras/s6-envuidgid.c b/src/daemontools-extras/s6-envuidgid.c
index 3a58c3c..3712411 100644
--- a/src/daemontools-extras/s6-envuidgid.c
+++ b/src/daemontools-extras/s6-envuidgid.c
@@ -67,7 +67,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
     if (n < 0)
       strerr_diefu2sys(111, "get supplementary groups for ", argv[0]) ;
   }
-  else if (insist) strerr_dief2x(1, "unknown user: ", argv[1]) ;
+  else if (insist) strerr_dief2x(1, "unknown user: ", argv[0]) ;
 
   {
     unsigned int pos = 0 ;