mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-3166 --resolve
This commit is contained in:
@@ -1280,6 +1280,7 @@ static void switch_core_set_serial(void)
|
||||
|
||||
if ((write_fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR)) >= 0) {
|
||||
bytes = write(write_fd, buf, sizeof(buf));
|
||||
bytes++;
|
||||
close(write_fd);
|
||||
write_fd = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user