From 6cd142113b7d43c19ac56105d7b887ec503eaed6 Mon Sep 17 00:00:00 2001 From: Ulrich Ölmann Date: Wed, 21 Jun 2023 16:17:51 +0200 Subject: use pointers to immutable strings for cmdline options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Ölmann --- platsch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platsch.c b/platsch.c index c75f934..8228b2f 100644 --- a/platsch.c +++ b/platsch.c @@ -565,8 +565,8 @@ int main(int argc, char *argv[]) char drmdev[128]; struct modeset_dev *iter; bool pid1 = getpid() == 1; - char *dir = "/usr/share/platsch"; - char *base = "splash"; + const char *dir = "/usr/share/platsch"; + const char *base = "splash"; int ret = 0, c, i; if (!pid1) { -- cgit v1.2.3