[ostree] core: We actually want rdev, not dev for devices
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] core: We actually want rdev, not dev for devices
- Date: Tue, 15 Nov 2011 20:16:40 +0000 (UTC)
commit d196a47043f2848d99b8ab7ba453fd0d415f74d4
Author: Colin Walters <walters verbum org>
Date: Tue Nov 15 15:15:46 2011 -0500
core: We actually want rdev, not dev for devices
src/libostree/ostree-core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-core.c b/src/libostree/ostree-core.c
index ca0fb1f..0d7c6d8 100644
--- a/src/libostree/ostree-core.c
+++ b/src/libostree/ostree-core.c
@@ -479,7 +479,7 @@ ostree_pack_object (GOutputStream *output,
}
else if (S_ISBLK (mode) || S_ISCHR (mode))
{
- device = g_file_info_get_attribute_uint32 (finfo, G_FILE_ATTRIBUTE_UNIX_DEVICE);
+ device = g_file_info_get_attribute_uint32 (finfo, G_FILE_ATTRIBUTE_UNIX_RDEV);
object_size = 4;
}
else if (S_ISFIFO (mode))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]