mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-05 05:28:32 +00:00
Complete 'Use unsigned int for p_max_size in obj_cb.print' even more
This commit is contained in:
parent
34848ef0b1
commit
95684a4fe4
@ -54,7 +54,7 @@ int get_entropy_poolsize(const unsigned int *);
|
|||||||
|
|
||||||
/* System Integrity Protection */
|
/* System Integrity Protection */
|
||||||
int get_sip_status(void);
|
int get_sip_status(void);
|
||||||
void print_sip_status(struct text_object *obj, char *p, int p_max_size);
|
void print_sip_status(struct text_object *obj, char *p, unsigned int p_max_size);
|
||||||
|
|
||||||
void deallocate_cpu_sample(struct text_object *obj);
|
void deallocate_cpu_sample(struct text_object *obj);
|
||||||
|
|
||||||
|
@ -1332,7 +1332,7 @@ int get_sip_status() {
|
|||||||
* Protection: ${sip_status 1} You should not write: "Allow Untrusted Kexts",
|
* Protection: ${sip_status 1} You should not write: "Allow Untrusted Kexts",
|
||||||
* this is wrong.
|
* this is wrong.
|
||||||
*/
|
*/
|
||||||
void print_sip_status(struct text_object *obj, char *p, int p_max_size) {
|
void print_sip_status(struct text_object *obj, char *p, unsigned int p_max_size) {
|
||||||
if (csr_get_active_config ==
|
if (csr_get_active_config ==
|
||||||
nullptr) /* check if weakly linked symbol exists */
|
nullptr) /* check if weakly linked symbol exists */
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user