summaryrefslogtreecommitdiff
path: root/emulators/wine-proton/files/patch-server_token.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine-proton/files/patch-server_token.c')
-rw-r--r--emulators/wine-proton/files/patch-server_token.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/emulators/wine-proton/files/patch-server_token.c b/emulators/wine-proton/files/patch-server_token.c
deleted file mode 100644
index 384adf3085b8..000000000000
--- a/emulators/wine-proton/files/patch-server_token.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- server/token.c.orig 2022-12-18 11:53:01.498015000 +0300
-+++ server/token.c 2022-12-18 11:53:14.540515000 +0300
-@@ -212,10 +212,10 @@ void init_user_sid(void)
- size_t n;
- FILE *f;
-
-- f = fopen( "/etc/machine-id", "r" );
-+ f = fopen( "/var/lib/dbus/machine-id", "r" );
- if (!f)
- {
-- fprintf( stderr, "Failed to open /etc/machine-id, error %s.\n", strerror( errno ));
-+ fprintf( stderr, "Failed to open /var/lib/dbus/machine-id, error %s.\n", strerror( errno ));
- return;
- }
-
-@@ -224,7 +224,7 @@ void init_user_sid(void)
-
- if (n != 16)
- {
-- fprintf( stderr, "Failed to read /etc/machine-id, error %s.\n", strerror( errno ));
-+ fprintf( stderr, "Failed to read /var/lib/dbus/machine-id, error %s.\n", strerror( errno ));
- return;
- }
- machine_id[n] = 0;