aboutsummaryrefslogtreecommitdiff
path: root/sound/shairplay/patches/001-key_file_dir.patch
blob: af9bd8448c06e5e90b15fdca9d553f87147ea599 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/shairplay.c
+++ b/src/shairplay.c
@@ -350,7 +350,7 @@ main(int argc, char *argv[])
 	raop_cbs.audio_destroy = audio_destroy;
 	raop_cbs.audio_set_volume = audio_set_volume;
 
-	raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL);
+	raop = raop_init_from_keyfile(10, &raop_cbs, "/usr/share/shairplay/airport.key", NULL);
 	if (raop == NULL) {
 		fprintf(stderr, "Could not initialize the RAOP service\n");
 		fprintf(stderr, "Please make sure the airport.key file is in the current directory.\n");