]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
manager: make use of NEWLINE macro where appropriate
authorLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2018 11:18:32 +0000 (12:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 11 Jan 2018 14:12:16 +0000 (15:12 +0100)
src/core/manager.c

index 07809fea9c7c42feef199761dc6a8756fda76a92..6f50b177e012a8a76b496ee49c829c5699d5b86e 100644 (file)
@@ -1886,7 +1886,7 @@ static void manager_invoke_notify_message(Manager *m, Unit *u, pid_t pid, const
         assert(u);
         assert(buf);
 
-        tags = strv_split(buf, "\n\r");
+        tags = strv_split(buf, NEWLINE);
         if (!tags) {
                 log_oom();
                 return;