From 22a81e8fb5b6dc6463d1fe62e077eaa7fcb4079b Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Wed, 23 Jun 2021 18:06:20 +0300 Subject: mkpkg, extract: implement support for symlinks, devices and fifos --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index ece34e4..5a426cf 100644 --- a/src/io.c +++ b/src/io.c @@ -724,7 +724,7 @@ int apk_fileinfo_get(int atfd, const char *filename, unsigned int flags, .gid = st.st_gid, .mode = st.st_mode, .mtime = st.st_mtime, - .device = st.st_dev, + .device = st.st_rdev, }; if (xattr_hash_alg != APK_DIGEST_NONE) { -- cgit v1.2.3-70-g09d2