From 6331cf059ccfdf35f4e5a505cbae885094cc41b0 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 13 Nov 2009 09:08:27 +0100 Subject: *: use "can't" instead of "cannot" Signed-off-by: Denys Vlasenko --- archival/dpkg.c | 4 ++-- archival/tar.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'archival') 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) /* Create a separate backfile to dpkg */ if (rename("/var/lib/dpkg/status", "/var/lib/dpkg/status.udeb.bak") == -1) { if (errno != ENOENT) - bb_error_msg_and_die("cannot create backup status file"); + bb_error_msg_and_die("can't create backup status file"); /* Its ok if renaming the status file fails because status * file doesnt exist, maybe we are starting from scratch */ bb_error_msg("no status file found, creating new one"); @@ -1646,7 +1646,7 @@ int dpkg_main(int argc UNUSED_PARAM, char **argv) init_archive_deb_control(archive_handle); deb_file[deb_count]->control_file = deb_extract_control_file_to_buffer(archive_handle, control_list); if (deb_file[deb_count]->control_file == NULL) { - bb_error_msg_and_die("cannot extract control file"); + bb_error_msg_and_die("can't extract control file"); } deb_file[deb_count]->filename = xstrdup(argv[0]); package_num = fill_package_struct(deb_file[deb_count]->control_file); diff --git a/archival/tar.c b/archival/tar.c index 450402d3c..95982372d 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -331,7 +331,7 @@ static int writeTarHeader(struct TarBallInfo *tbInfo, if (sizeof(statbuf->st_size) > 4 && statbuf->st_size > (off_t)0777777777777LL ) { - bb_error_msg_and_die("cannot store file '%s' " + bb_error_msg_and_die("can't store file '%s' " "of size %"OFF_FMT"d, aborting", fileName, statbuf->st_size); } @@ -598,7 +598,7 @@ static NOINLINE int writeTarFile(int tar_fd, int verboseFlag, /* Store the stat info for the tarball's file, so * can avoid including the tarball into itself.... */ if (fstat(tbInfo.tarFd, &tbInfo.statBuf) < 0) - bb_perror_msg_and_die("cannot stat tar file"); + bb_perror_msg_and_die("can't stat tar file"); #if ENABLE_FEATURE_SEAMLESS_GZ || ENABLE_FEATURE_SEAMLESS_BZ2 if (gzip) -- cgit v1.2.3