summaryrefslogtreecommitdiff
path: root/coreutils/dd.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r--coreutils/dd.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index 8bb782781..7a64c3513 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -272,12 +272,6 @@ static bool write_and_stats(const void *buf, size_t len, size_t obs,
return 1;
}
-#if ENABLE_LFS
-# define XATOU_SFX xatoull_sfx
-#else
-# define XATOU_SFX xatoul_sfx
-#endif
-
#if ENABLE_FEATURE_DD_IBS_OBS
static int parse_comma_flags(char *val, const char *words, const char *error_in)
{
@@ -457,15 +451,15 @@ int dd_main(int argc UNUSED_PARAM, char **argv)
/* These can be large: */
if (what == OP_count) {
G.flags |= FLAG_COUNT;
- count = XATOU_SFX(val, cwbkMG_suffixes);
+ count = XATOOFF_SFX(val, cwbkMG_suffixes);
/*continue;*/
}
if (what == OP_seek) {
- seek = XATOU_SFX(val, cwbkMG_suffixes);
+ seek = XATOOFF_SFX(val, cwbkMG_suffixes);
/*continue;*/
}
if (what == OP_skip) {
- skip = XATOU_SFX(val, cwbkMG_suffixes);
+ skip = XATOOFF_SFX(val, cwbkMG_suffixes);
/*continue;*/
}
if (what == OP_if) {