summaryrefslogtreecommitdiff
path: root/ubi-utils/ubirsvol.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/ubirsvol.c')
-rw-r--r--ubi-utils/ubirsvol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ubi-utils/ubirsvol.c b/ubi-utils/ubirsvol.c
index c469060..69a4ea1 100644
--- a/ubi-utils/ubirsvol.c
+++ b/ubi-utils/ubirsvol.c
@@ -33,7 +33,6 @@
#include <libubi.h>
#include "common.h"
-#include "ubiutils-common.h"
/* The variables below are set by command line arguments */
struct args {
@@ -114,7 +113,7 @@ static int parse_opt(int argc, char * const argv[])
switch (key) {
case 's':
- args.bytes = ubiutils_get_bytes(optarg);
+ args.bytes = util_get_bytes(optarg);
if (args.bytes <= 0)
return errmsg("bad volume size: \"%s\"", optarg);
break;