summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-02-19 17:38:35 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-02-19 17:38:35 +0100
commit433591e9e57c40728f666f3788bb34614cf6ab78 (patch)
tree2fa2b85ab577b84680c0de5a78d6fe76bb4a20ed
parent659893fbf96a50b04187af2e5e50020e37a80c39 (diff)
downloadtdeadmin-433591e9e57c40728f666f3788bb34614cf6ab78.tar.gz
tdeadmin-433591e9e57c40728f666f3788bb34614cf6ab78.zip
Fix unintended rename of chkconfig
-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);