[systemd-commits] src/service.c

Lennart Poettering lennart at kemper.freedesktop.org
Tue Mar 8 10:04:28 PST 2011


 src/service.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e527618da5f4521e884a9b0c8c7d0a7a8e859749
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Mar 8 18:51:20 2011 +0100

    service: use uppercase SYSV prefix to make it easier to recognize

diff --git a/src/service.c b/src/service.c
index 465e1a7..e99dfcd 100644
--- a/src/service.c
+++ b/src/service.c
@@ -835,7 +835,7 @@ static int service_load_sysv_path(Service *s, const char *path) {
         if (description) {
                 char *d;
 
-                if (!(d = strappend(s->sysv_has_lsb ? "LSB: " : "SysV: ", description))) {
+                if (!(d = strappend(s->sysv_has_lsb ? "LSB: " : "SYSV: ", description))) {
                         r = -ENOMEM;
                         goto finish;
                 }



More information about the systemd-commits mailing list