aboutsummaryrefslogtreecommitdiff
path: root/archival/dpkg.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /archival/dpkg.c
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.bz2
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip
*: use "can't" instead of "cannot"
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 a9334df87..451c6fa32 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -912,7 +912,7 @@ static void write_status_file(deb_file_t **deb_file)
912 /* Create a separate backfile to dpkg */ 912 /* Create a separate backfile to dpkg */
913 if (rename("/var/lib/dpkg/status", "/var/lib/dpkg/status.udeb.bak") == -1) { 913 if (rename("/var/lib/dpkg/status", "/var/lib/dpkg/status.udeb.bak") == -1) {
914 if (errno != ENOENT) 914 if (errno != ENOENT)
915 bb_error_msg_and_die("cannot create backup status file"); 915 bb_error_msg_and_die("can't create backup status file");
916 /* Its ok if renaming the status file fails because status 916 /* Its ok if renaming the status file fails because status
917 * file doesnt exist, maybe we are starting from scratch */ 917 * file doesnt exist, maybe we are starting from scratch */
918 bb_error_msg("no status file found, creating new one"); 918 bb_error_msg("no status file found, creating new one");
@@ -1646,7 +1646,7 @@ int dpkg_main(int argc UNUSED_PARAM, char **argv)
1646 init_archive_deb_control(archive_handle); 1646 init_archive_deb_control(archive_handle);
1647 deb_file[deb_count]->control_file = deb_extract_control_file_to_buffer(archive_handle, control_list); 1647 deb_file[deb_count]->control_file = deb_extract_control_file_to_buffer(archive_handle, control_list);
1648 if (deb_file[deb_count]->control_file == NULL) { 1648 if (deb_file[deb_count]->control_file == NULL) {
1649 bb_error_msg_and_die("cannot extract control file"); 1649 bb_error_msg_and_die("can't extract control file");
1650 } 1650 }
1651 deb_file[deb_count]->filename = xstrdup(argv[0]); 1651 deb_file[deb_count]->filename = xstrdup(argv[0]);
1652 package_num = fill_package_struct(deb_file[deb_count]->control_file); 1652 package_num = fill_package_struct(deb_file[deb_count]->control_file);