Remove a const that generates a warning: the const isn't strictly
wrong, since we don't want the variable changed, but since we assign it to variables that may also refer to other non-const strings, warnings were generated that could break LINT. Approved by: re Spotted by: sam
This commit is contained in:
parent
57f727d9f8
commit
e7cba1c7dd
@ -493,7 +493,7 @@ maybe_demote(struct mac_lomac *subjlabel, struct mac_lomac *objlabel,
|
||||
const char *actionname, const char *objname, struct vnode *vpq)
|
||||
{
|
||||
struct vattr va;
|
||||
static const char xxx[] = "<<XXX>>";
|
||||
static char xxx[] = "<<XXX>>";
|
||||
struct mac_lomac_proc *subj = PSLOT(&curthread->td_proc->p_label);
|
||||
char *subjlabeltext, *objlabeltext, *subjtext, *text;
|
||||
struct proc *p;
|
||||
|
Loading…
Reference in New Issue
Block a user