aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/dd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index 3011e005d..8b374aa8b 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -92,14 +92,14 @@ int dd_main(int argc, char **argv)
92 OP_skip, 92 OP_skip,
93 OP_if, 93 OP_if,
94 OP_of, 94 OP_of,
95USE_FEATURE_DD_IBS_OBS( 95#if ENABLE_FEATURE_DD_IBS_OBS
96 OP_ibs, 96 OP_ibs,
97 OP_obs, 97 OP_obs,
98 OP_conv, 98 OP_conv,
99 OP_conv_notrunc, 99 OP_conv_notrunc,
100 OP_conv_sync, 100 OP_conv_sync,
101 OP_conv_noerror, 101 OP_conv_noerror,
102) 102#endif
103 }; 103 };
104 int flags = trunc_flag; 104 int flags = trunc_flag;
105 size_t oc = 0, ibs = 512, obs = 512; 105 size_t oc = 0, ibs = 512, obs = 512;
@@ -139,7 +139,7 @@ USE_FEATURE_DD_IBS_OBS(
139 bb_show_usage(); 139 bb_show_usage();
140 arg += key_len; 140 arg += key_len;
141 /* Must fit into positive ssize_t */ 141 /* Must fit into positive ssize_t */
142 if (ENABLE_FEATURE_DD_IBS_OBS) { 142#if ENABLE_FEATURE_DD_IBS_OBS
143 if (what == OP_ibs) { 143 if (what == OP_ibs) {
144 ibs = xatoul_range_sfx(arg, 1, ((size_t)-1L)/2, dd_suffixes); 144 ibs = xatoul_range_sfx(arg, 1, ((size_t)-1L)/2, dd_suffixes);
145 continue; 145 continue;
@@ -172,7 +172,7 @@ USE_FEATURE_DD_IBS_OBS(
172 } 172 }
173 continue; 173 continue;
174 } 174 }
175 } 175#endif
176 if (what == OP_bs) { 176 if (what == OP_bs) {
177 ibs = obs = xatoul_range_sfx(arg, 1, ((size_t)-1L)/2, dd_suffixes); 177 ibs = obs = xatoul_range_sfx(arg, 1, ((size_t)-1L)/2, dd_suffixes);
178 continue; 178 continue;