aboutsummaryrefslogtreecommitdiff
path: root/archival/dpkg.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-09-06 02:58:59 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-09-06 02:58:59 +0200
commit5370bfb123266ab5716f321e43d3f8f6da7d7143 (patch)
treefb4a1500d571aee4c36dc2aa5510304d5724cf07 /archival/dpkg.c
parent90a9904e9ef5f2fb70e1952cb1a68bd9213bcde3 (diff)
downloadbusybox-5370bfb123266ab5716f321e43d3f8f6da7d7143.tar.gz
documentation and typo fixes. By Dan Fandrich (dan AT coneharvesters.com)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r--archival/dpkg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index abeb16238..781f1bb03 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -493,7 +493,7 @@ static void free_package(common_node_t *node)
}
/*
- * Gets the next package field from package_buffer, seperated into the field name
+ * Gets the next package field from package_buffer, separated into the field name
* and field value, it returns the int offset to the first character of the next field
*/
static int read_package_field(const char *package_buffer, char **field_name, char **field_value)
@@ -806,7 +806,7 @@ static void write_status_file(deb_file_t **deb_file)
write_flag = FALSE;
tmp_string = strstr(control_buffer, "Status:");
if (tmp_string != NULL) {
- /* Seperate the status value from the control buffer */
+ /* Separate the status value from the control buffer */
tmp_string += 7;
tmp_string += strspn(tmp_string, " \n\t");
status_from_file = xstrndup(tmp_string, strcspn(tmp_string, "\n"));