* Fix a typo in the dpkg changelog.
[deb_shairplay.git] / debian / patches / read_airportkey_from_etc.patch
1 --- a/src/shairplay.c
2 +++ b/src/shairplay.c
3 @@ -346,10 +346,10 @@
4 raop_cbs.audio_destroy = audio_destroy;
5 raop_cbs.audio_set_volume = audio_set_volume;
6
7 - raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL);
8 + raop = raop_init_from_keyfile(10, &raop_cbs, "/etc/shairplay/airport.key", NULL);
9 if (raop == NULL) {
10 fprintf(stderr, "Could not initialize the RAOP service\n");
11 - fprintf(stderr, "Please make sure the airport.key file is in the current directory.\n");
12 + fprintf(stderr, "Please make sure the /etc/shairplay/airport.key file is in the current directory.\n");
13 return -1;
14 }
15