summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:01:27 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 19:01:27 -0500
commitbfc6244daec981ec9c903e13f521a5b9190ba689 (patch)
treeb0291fe12e1964aad58dc1959a9df8cda7e694e9
parent6e830a9d20940d97acdf9d5adbfdb540a8f0e25c (diff)
remove another fixed-length string
-rw-r--r--device-functions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/device-functions.c b/device-functions.c
index 9c641c0..6381f59 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -4056,8 +4056,9 @@ int do_full_self_cal(CalStruct *caldata)
while ((sec_timer() - globals.Timers.startup_timer_value) < (long)globals.Flash.self_cal_pause) {
/*0123456789012345678901234567890123456789*/
- sprintf (string, "Min warm-up is %ds, on for %lds.", globals.Flash.self_cal_pause, sec_timer() - globals.Timers.startup_timer_value);
+ string = g_strdup_printf ("Min warm-up is %ds, on for %lds.", globals.Flash.self_cal_pause, sec_timer() - globals.Timers.startup_timer_value);
LCD_write(3,0,string);
+ g_free (string);
g_usleep (2e5);
}