Explorar o código

libdpkg: in parsedb() finish the rename of stat -> st

This was forgotten in commit 5cf023f2d5bf609b6aba20aa5b5e285a91fbbbce.
Bill Allombert %!s(int64=16) %!d(string=hai) anos
pai
achega
85b61adabf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/dpkg/parse.c

+ 1 - 1
lib/dpkg/parse.c

@@ -387,7 +387,7 @@ int parsedb(const char *filename, enum parsedbflags flags,
   }
   if (data != NULL) {
 #ifdef HAVE_MMAP
-    munmap(data, stat.st_size);
+    munmap(data, st.st_size);
 #else
     free(data);
 #endif