mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
print machine id during startup
This commit is contained in:
parent
73e2577ca6
commit
0075649f13
1 changed files with 11 additions and 1 deletions
|
|
@ -767,11 +767,21 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
pa_log_info(_("This is PulseAudio %s"), PACKAGE_VERSION);
|
||||
pa_log_info(_("Page size is %lu bytes"), (unsigned long) PA_PAGE_SIZE);
|
||||
|
||||
if (!(s = pa_machine_id())) {
|
||||
pa_log(_("Failed to get machine ID"));
|
||||
goto finish;
|
||||
}
|
||||
pa_log_info(_("Machine ID is %s."), s);
|
||||
pa_xfree(s);
|
||||
|
||||
if (!(s = pa_get_runtime_dir()))
|
||||
goto finish;
|
||||
pa_log_info(_("Using runtime directory %s."), s);
|
||||
pa_xfree(s);
|
||||
|
||||
if (!(s = pa_get_state_dir()))
|
||||
goto finish;
|
||||
pa_log_info(_("Using state directory %s."), s);
|
||||
pa_xfree(s);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue