summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--archival/tar.c8
-rw-r--r--messages.c4
-rw-r--r--tar.c8
3 files changed, 10 insertions, 10 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 4fd864b25..07c0e7105 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -39,7 +39,7 @@
#include "busybox.h"
#define BB_DECLARE_EXTERN
#define bb_need_io_error
-#define bb_need_name_longer_then_foo
+#define bb_need_name_longer_than_foo
#include "messages.c"
#include <stdio.h>
#include <dirent.h>
@@ -535,7 +535,7 @@ static int readTarFile(const char* tarName, int extractFlag, int listFlag,
}
if ( skipNextHeaderFlag == TRUE ) {
skipNextHeaderFlag=FALSE;
- errorMsg(name_longer_then_foo, NAME_SIZE);
+ errorMsg(name_longer_than_foo, NAME_SIZE);
tarExtractRegularFile(&header, FALSE, FALSE);
continue;
}
@@ -915,7 +915,7 @@ static int writeFileToTarball(const char *fileName, struct stat *statbuf, void*
}
if (strlen(fileName) >= NAME_SIZE) {
- errorMsg(name_longer_then_foo, NAME_SIZE);
+ errorMsg(name_longer_than_foo, NAME_SIZE);
return ( TRUE);
}
@@ -1004,7 +1004,7 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv,
}
/* To be pedantically correct, we would check if the tarball
- * is smaller then 20 tar blocks, and pad it if it was smaller,
+ * is smaller than 20 tar blocks, and pad it if it was smaller,
* but that isn't necessary for GNU tar interoperability, and
* so is considered a waste of space */
diff --git a/messages.c b/messages.c
index 81fd9c75c..c06a87f01 100644
--- a/messages.c
+++ b/messages.c
@@ -81,8 +81,8 @@
#if defined bb_need_too_few_args || ! defined BB_DECLARE_EXTERN
BB_DEF_MESSAGE(too_few_args, "too few arguments\n")
#endif
-#if defined bb_need_name_longer_then_foo || ! defined BB_DECLARE_EXTERN
- BB_DEF_MESSAGE(name_longer_then_foo, "Names longer then %d chars not supported.\n")
+#if defined bb_need_name_longer_than_foo || ! defined BB_DECLARE_EXTERN
+ BB_DEF_MESSAGE(name_longer_than_foo, "Names longer than %d chars not supported.\n")
#endif
diff --git a/tar.c b/tar.c
index 4fd864b25..07c0e7105 100644
--- a/tar.c
+++ b/tar.c
@@ -39,7 +39,7 @@
#include "busybox.h"
#define BB_DECLARE_EXTERN
#define bb_need_io_error
-#define bb_need_name_longer_then_foo
+#define bb_need_name_longer_than_foo
#include "messages.c"
#include <stdio.h>
#include <dirent.h>
@@ -535,7 +535,7 @@ static int readTarFile(const char* tarName, int extractFlag, int listFlag,
}
if ( skipNextHeaderFlag == TRUE ) {
skipNextHeaderFlag=FALSE;
- errorMsg(name_longer_then_foo, NAME_SIZE);
+ errorMsg(name_longer_than_foo, NAME_SIZE);
tarExtractRegularFile(&header, FALSE, FALSE);
continue;
}
@@ -915,7 +915,7 @@ static int writeFileToTarball(const char *fileName, struct stat *statbuf, void*
}
if (strlen(fileName) >= NAME_SIZE) {
- errorMsg(name_longer_then_foo, NAME_SIZE);
+ errorMsg(name_longer_than_foo, NAME_SIZE);
return ( TRUE);
}
@@ -1004,7 +1004,7 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv,
}
/* To be pedantically correct, we would check if the tarball
- * is smaller then 20 tar blocks, and pad it if it was smaller,
+ * is smaller than 20 tar blocks, and pad it if it was smaller,
* but that isn't necessary for GNU tar interoperability, and
* so is considered a waste of space */