Skip to content

Commit

Permalink
leveldb: security_context_t is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
lnykryn committed May 13, 2024
1 parent 5c57fff commit fb0660d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leveldb.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
int selinux_restore(const char *name) {
struct selabel_handle *hnd = NULL;
struct stat buf;
security_context_t newcon = NULL;
char *newcon = NULL;
int r = -1;

hnd = selabel_open(SELABEL_CTX_FILE, NULL, 0);
Expand Down

0 comments on commit fb0660d

Please sign in to comment.