diff options
author | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:01:27 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:01:27 -0500 |
commit | bfc6244daec981ec9c903e13f521a5b9190ba689 (patch) | |
tree | b0291fe12e1964aad58dc1959a9df8cda7e694e9 /device-functions.c | |
parent | 6e830a9d20940d97acdf9d5adbfdb540a8f0e25c (diff) |
remove another fixed-length string
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 3 |
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); } |