Forráskód Böngészése

fixed signature of procedure stat

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7103 8c9fc860-2736-0410-a75d-ab315db34111
eth.guenter 8 éve
szülő
commit
1d972e29b1
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      source/Generic.Linux.I386.Unix.Mod

+ 2 - 2
source/Generic.Linux.I386.Unix.Mod

@@ -1044,9 +1044,9 @@ static void sighandler( int sig, siginfo_t *scp, void *ucp ) {
 		RETURN res;
 	END fstat;
 
-	PROCEDURE stat*  ( fd: LONGINT;  VAR buf: Status ): LONGINT;
+	PROCEDURE stat*  ( path: ADDRESS;  VAR buf: Status ): LONGINT;
 	BEGIN
-		RETURN xstat(3, fd, buf);
+		RETURN xstat( 3, path, buf );
 	END stat;