From 11bf7be9c2e1d83c0e4ae2ac9f0e3ccdc09ddbf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 21 Oct 2020 21:26:03 +0200 Subject: Mark user field of Process const It's a non-owning pointer to a hashtable entry. --- Process.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Process.h') diff --git a/Process.h b/Process.h index a13ca86c..440cbb1c 100644 --- a/Process.h +++ b/Process.h @@ -86,7 +86,7 @@ typedef struct Process_ { float percent_cpu; float percent_mem; - char* user; + const char* user; long int priority; long int nice; -- cgit v1.2.3