aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librc/librc.c2
-rw-r--r--src/librc/rc.h.in12
-rw-r--r--src/rc/fstabinfo.c2
-rw-r--r--src/rc/rc-applets.c2
-rw-r--r--src/rc/runscript.c6
5 files changed, 12 insertions, 12 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c
index 34bd9e15..fe9e1b6b 100644
--- a/src/librc/librc.c
+++ b/src/librc/librc.c
@@ -377,7 +377,7 @@ rc_runlevel_stacks(const char *runlevel)
}
librc_hidden_def(rc_runlevel_stacks)
-/* Resolve a service name to it's full path */
+/* Resolve a service name to its full path */
char *
rc_service_resolve(const char *service)
{
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in
index 4b7977eb..d9d04539 100644
--- a/src/librc/rc.h.in
+++ b/src/librc/rc.h.in
@@ -117,7 +117,7 @@ bool rc_runlevel_stopping(void);
/*! @name RC
* A service can be given as a full path or just its name.
- * If its just a name then we try to resolve the service to a full path.
+ * If it's just a name then we try to resolve the service to a full path.
* This should allow the use if local init.d directories in the future. */
/*! @brief States a service can be in */
@@ -326,7 +326,7 @@ typedef void *RC_DEPTREE;
#endif
/*! Check to see if source is newer than target.
- * If target is a directory then we traverse it and it's children.
+ * If target is a directory then we traverse it and its children.
* @param source
* @param target
* @param mtime of newest target
@@ -335,7 +335,7 @@ typedef void *RC_DEPTREE;
bool rc_newer_than(const char *, const char *, time_t *, char *);
/*! Check to see if source is older than target.
- * If target is a directory then we traverse it and it's children.
+ * If target is a directory then we traverse it and its children.
* @param source
* @param target
* @param mtime of oldest target
@@ -446,7 +446,7 @@ RC_STRINGLIST *rc_config_load(const char *);
/*! Return the value of the entry from a key=value list. */
char *rc_config_value(RC_STRINGLIST *, const char *);
-/*! Check if a variable is a boolean and return it's value.
+/*! Check if a variable is a boolean and return its value.
* If variable is not a boolean then we set errno to be ENOENT when it does
* not exist or EINVAL if it's not a boolean.
* @param variable to check
@@ -485,9 +485,9 @@ bool rc_stringlist_delete(RC_STRINGLIST *, const char *);
* @return pointer to item */
RC_STRING *rc_stringlist_find(RC_STRINGLIST *, const char *);
-/*! Split a string into a stringlist based on seperator.
+/*! Split a string into a stringlist based on separator.
* @param string to split
- * @param seperator
+ * @param separator
* @return new list */
RC_STRINGLIST *rc_stringlist_split(const char *, const char *);
diff --git a/src/rc/fstabinfo.c b/src/rc/fstabinfo.c
index 0dcdfd66..a05bfae6 100644
--- a/src/rc/fstabinfo.c
+++ b/src/rc/fstabinfo.c
@@ -38,7 +38,7 @@
#include <string.h>
#include <unistd.h>
-/* Yay for linux and it's non liking of POSIX functions.
+/* Yay for linux and its non liking of POSIX functions.
Okay, we could use getfsent but the man page says use getmntent instead
AND we don't have getfsent on uclibc or dietlibc for some odd reason. */
#ifdef __linux__
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c
index 04e88de9..11bc2d50 100644
--- a/src/rc/rc-applets.c
+++ b/src/rc/rc-applets.c
@@ -467,7 +467,7 @@ run_applets(int argc, char **argv)
}
exit(EXIT_FAILURE);
};
- /* This tets is correct as it's not present in baselayout */
+ /* This test is correct as it's not present in baselayout */
if (strcmp(applet, "is_newer_than") == 0) {
if (argc < 3)
exit (EXIT_FAILURE);
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 5939daed..0b2d71a9 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -998,7 +998,7 @@ svc_restart(void)
* dns via resolvconf, so you could have openvpn trying to restart
* dnsmasq which in turn is waiting on net which in turn is waiting
* on dnsmasq.
- * The work around is for resolvconf to restart it's services with
+ * The work around is for resolvconf to restart its services with
* --nodeps which means just that.
* The downside is that there is a small window when our status is
* invalid.
@@ -1106,7 +1106,7 @@ runscript(int argc, char **argv)
atexit(cleanup);
/* We need to work out the real full path to our service.
- * This works fine, provided that we ONLY allow mulitplexed services
+ * This works fine, provided that we ONLY allow multiplexed services
* to exist in the same directory as the master link.
* Also, the master link as to be a real file in the init dir. */
if (!realpath(argv[1], path)) {
@@ -1192,7 +1192,7 @@ runscript(int argc, char **argv)
deps = true;
- /* Punt the first arg as it's our service name */
+ /* Punt the first arg as its our service name */
argc--;
argv++;