--- freem/src/ssvn_device.c 2025/01/19 02:04:04 1.1 +++ freem/src/ssvn_device.c 2025/03/09 15:20:18 1.3 @@ -15,7 +15,7 @@ * ^$DEVICE ssv * * - * Author: Serena Willis + * Author: Serena Willis * Copyright (C) 1998 MUG Deutschland * Copyright (C) 2020 Coherent Logic Development LLC * @@ -197,7 +197,7 @@ void ssvn_device(short action, char *key break; } else if (strcmp (r->subscripts[1], "NAME") == 0) { - sprintf (data, dev[channel]); + sprintf (data, "%s", dev[channel]); break; } else if (strcmp (r->subscripts[1], "TYPE") == 0) { @@ -223,7 +223,7 @@ void ssvn_device(short action, char *key fstat (fd, &s); siz = s.st_size; - sprintf (data, "%ld\201", siz); + sprintf (data, "%ld\201", (long) siz); break;