projects
/
platform
/
upstream
/
sysvinit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tizen 2.1 base
[platform/upstream/sysvinit.git]
/
debian
/
patches
/
60_init_selinux_ifdef.dpatch
1
Purpose: Avoid compiler warning about unused variable when SE Linux is not
2
enabled.
3
Authour: Petter Reinholdtsen
4
Fixes: -
5
Status: Not yet submitted upstream.
6
7
--- a/src/init.c
8
+++ b/src/init.c
9
@@ -2615,7 +2615,9 @@
10
char *p;
11
int f;
12
int isinit;
13
+#ifdef WITH_SELINUX
14
int enforce = 0;
15
+#endif
16
17
/* Get my own name */
18
if ((p = strrchr(argv[0], '/')) != NULL)