summaryrefslogtreecommitdiffstats
path: root/commands/clk.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/clk.c')
-rw-r--r--commands/clk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/clk.c b/commands/clk.c
index e9459a3fd3..65832d4985 100644
--- a/commands/clk.c
+++ b/commands/clk.c
@@ -110,7 +110,7 @@ static int do_clk_get_rate(int argc, char *argv[])
if (variable_name) {
char *t;
- t = asprintf("%lu", rate);
+ t = basprintf("%lu", rate);
setenv(variable_name, t);
free(t);
} else