mirror of
https://github.com/mmozeiko/pkg2zip.git
synced 2026-09-03 03:29:59 +03:00
fix macOS/Linux build
This commit is contained in:
+1
-1
@@ -199,7 +199,7 @@ sys_file sys_open(const char* fname, uint64_t* size)
|
||||
int fd = open(fname, O_RDONLY);
|
||||
if (fd < 0)
|
||||
{
|
||||
error("ERROR: cannot open '%s' file\n", fname);
|
||||
sys_error("ERROR: cannot open '%s' file\n", fname);
|
||||
}
|
||||
|
||||
struct stat st;
|
||||
|
||||
Reference in New Issue
Block a user