summaryrefslogtreecommitdiffstats
path: root/ksysv
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv')
-rw-r--r--ksysv/AUTHORS2
-rw-r--r--ksysv/leveldb.c2
-rw-r--r--ksysv/leveldb.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/ksysv/AUTHORS b/ksysv/AUTHORS
index dad4d1f..a2a59a9 100644
--- a/ksysv/AUTHORS
+++ b/ksysv/AUTHORS
@@ -4,7 +4,7 @@ Current Code
Main developer:
Peter Putzer <putzer@kde.org>
-leveldb.{h,c} (from chtdeconfig):
+leveldb.{h,c} (from chkconfig):
Red Hat Software http://www.redhat.com
Previous Versions
diff --git a/ksysv/leveldb.c b/ksysv/leveldb.c
index 030e941..149cb3b 100644
--- a/ksysv/leveldb.c
+++ b/ksysv/leveldb.c
@@ -111,7 +111,7 @@ int readServiceInfo(const char* RUNLEVELS, const char * name, struct service * s
while (isspace(*start) && start < end) start++;
if (start == end) continue;
- if (!strncmp(start, "chtdeconfig:", 10)) {
+ if (!strncmp(start, "chkconfig:", 10)) {
start += 10;
while (isspace(*start) && start < end) start++;
if (start == end) {
diff --git a/ksysv/leveldb.h b/ksysv/leveldb.h
index ef6dea9..e18d202 100644
--- a/ksysv/leveldb.h
+++ b/ksysv/leveldb.h
@@ -34,7 +34,7 @@ struct service {
int parseLevels(const char * str, int emptyOk);
-/* returns 0 on success, 1 if the service is not chtdeconfig-able, -1 if an
+/* returns 0 on success, 1 if the service is not chkconfig-able, -1 if an
I/O error occurs (in which case errno can be checked) */
int readServiceInfo(const char* RUNLEVELS, const char* name, struct service * service);
int currentRunlevel(void);