Skip to content

Commit 200b03c

Browse files
committed
mkfile: use DATA_XFER_LIMIT
1 parent 61f28c4 commit 200b03c

File tree

1 file changed

+2
-1
lines changed
  • uspace/app/bdsh/cmds/modules/mkfile

1 file changed

+2
-1
lines changed

uspace/app/bdsh/cmds/modules/mkfile/mkfile.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2727
*/
2828

29+
#include <abi/ipc/ipc.h>
2930
#include <errno.h>
3031
#include <stdio.h>
3132
#include <stdlib.h>
@@ -47,7 +48,7 @@
4748
#include "cmds.h"
4849

4950
/** Number of bytes to write at a time */
50-
#define BUFFER_SIZE 16384
51+
#define BUFFER_SIZE DATA_XFER_LIMIT
5152

5253
static const char *cmdname = "mkfile";
5354

0 commit comments

Comments
 (0)