From e8bec4c75f9da5c2e6a12b8f96630dae2d2d57d6 Mon Sep 17 00:00:00 2001 From: Parnell Springmeyer Date: Thu, 26 Jan 2017 00:35:01 -0800 Subject: [PATCH] Implicit declared function... --- .../security/permissions-wrappers/permissions-wrapper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/security/permissions-wrappers/permissions-wrapper.c b/nixos/modules/security/permissions-wrappers/permissions-wrapper.c index 3cb5bb4f560..4a77e8aa3d5 100644 --- a/nixos/modules/security/permissions-wrappers/permissions-wrapper.c +++ b/nixos/modules/security/permissions-wrappers/permissions-wrapper.c @@ -211,7 +211,8 @@ int main(int argc, char * * argv) // Read the capabilities set on the file and raise them in to the // Ambient set so the program we're wrapping receives the // capabilities too! - if (strcmp(wrapperType, "setcap") == 0) assert(!make_caps_ambient(selfPath)); + if (strcmp(wrapperType, "setcap") == 0) + assert(!make_caps_ambient(selfPath)); execve(sourceProg, argv, environ);