summaryrefslogtreecommitdiffstats
path: root/meta/classes/buildstats.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/buildstats.bbclass')
-rw-r--r--meta/classes/buildstats.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass
index 89ae72c679..48442641d4 100644
--- a/meta/classes/buildstats.bbclass
+++ b/meta/classes/buildstats.bbclass
@@ -52,8 +52,8 @@ def set_device(e):
52 # If we end up hitting one of these fs, we'll just skip diskstats collection. 52 # If we end up hitting one of these fs, we'll just skip diskstats collection.
53 ############################################################################ 53 ############################################################################
54 device=os.stat(tmpdir) 54 device=os.stat(tmpdir)
55 majordev=os.major(device.st_dev) 55 majordev=os.major(long(device.st_dev))
56 minordev=os.minor(device.st_dev) 56 minordev=os.minor(long(device.st_dev))
57 ############################################################################ 57 ############################################################################
58 # Bug 1700: 58 # Bug 1700:
59 # Because tmpfs/encryptfs/ramfs etc inserts no entry in /proc/diskstats 59 # Because tmpfs/encryptfs/ramfs etc inserts no entry in /proc/diskstats