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 07809fe..6f50b17 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;