summaryrefslogtreecommitdiff
path: root/sys-apps/stroke/files/stroke-0.1.3-gcc15.patch
blob: 133060953cd71193b44e23db34afae13c206c5e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://bugs.gentoo.org/880509

--- a/src/aux.c
+++ b/src/aux.c
@@ -292,7 +292,7 @@ lutime_symlink(const char *filename, const struct utimbuf *times)
 		{times->modtime, 0}
 	};
 	
-	if(!(cwd = scwd(cwd)) ||
+	if(!(cwd = scwd()) ||
 	   chdir(dirname(new_str(filename))) < 0)
 		goto error;