miredo: fix a compile error
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30598 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5891600e1b
commit
197cb94c32
12
ipv6/miredo/patches/110-fix_compile_error.patch
Normal file
12
ipv6/miredo/patches/110-fix_compile_error.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -300,7 +300,9 @@
|
||||
if (val)
|
||||
{
|
||||
error_errno ("cap_set_proc");
|
||||
+#ifdef MIREDO_DEFAULT_USERNAME
|
||||
setuid_notice ();
|
||||
+#endif
|
||||
return -1;
|
||||
}
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user