projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fstests: Replace all __[u]intNN_t types with standard [u]intNN_t
[xfstests-dev.git]
/
src
/
getdevicesize.c
diff --git
a/src/getdevicesize.c
b/src/getdevicesize.c
index 9672e9112a75fccb1348c03085588be4ff1a034d..a1745b013e3619fe2869ef7c7c6c4756c40202b0 100644
(file)
--- a/
src/getdevicesize.c
+++ b/
src/getdevicesize.c
@@
-24,6
+24,7
@@
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
+#include <stdint.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
@@
-33,7
+34,7
@@
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{
-
__uint64_t
size;
+
uint64_t
size;
long long sz = -1;
int error, fd;
long long sz = -1;
int error, fd;