diff options
-rw-r--r-- | src/timedate/timedated.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c index 4e120564c0..9406d28abe 100644 --- a/src/timedate/timedated.c +++ b/src/timedate/timedated.c @@ -126,7 +126,7 @@ static int context_write_data_local_rtc(Context *c) { return -ENOMEM; } else { char *p; - char *e = (char*) "\n"; /* default if there are not 3 lines with \n terminator */ + const char *e = "\n"; /* default if there is less than 3 lines */ const char *prepend = ""; size_t a, b; |