public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfstests: fix format string warnings in aio-dio-extend-stat.c
@ 2010-01-21 11:34 Christoph Hellwig
  2010-01-21 14:01 ` Alex Elder
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2010-01-21 11:34 UTC (permalink / raw)
  To: xfs


Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: xfstests-dev/src/aio-dio-regress/aio-dio-extend-stat.c
===================================================================
--- xfstests-dev.orig/src/aio-dio-regress/aio-dio-extend-stat.c	2010-01-21 11:27:36.000000000 +0000
+++ xfstests-dev/src/aio-dio-regress/aio-dio-extend-stat.c	2010-01-21 11:28:15.000000000 +0000
@@ -149,8 +149,9 @@ void fun_read(void *ptr)
 			if (filestat.st_size < exSize)
 				fail("write of %lu bytes @%llu finished, "
 				     "expected filesize at least %llu, but "
-				     "got %ld\n", event->obj->u.c.nbytes,
-				     event->obj->u.c.offset, exSize, filestat.st_size);
+				     "got %lld\n", event->obj->u.c.nbytes,
+				     event->obj->u.c.offset, exSize,
+				     (long long)filestat.st_size);
 		}
 	}
 }

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH] xfstests: fix format string warnings in aio-dio-extend-stat.c
  2010-01-21 11:34 [PATCH] xfstests: fix format string warnings in aio-dio-extend-stat.c Christoph Hellwig
@ 2010-01-21 14:01 ` Alex Elder
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Elder @ 2010-01-21 14:01 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: xfs

Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Looks good.

Reviewed-by: Alex Elder <aelder@sgi.com>

> Index: xfstests-dev/src/aio-dio-regress/aio-dio-extend-stat.c
> ===================================================================
> --- xfstests-dev.orig/src/aio-dio-regress/aio-dio-extend-stat.c	2010-01-21 11:27:36.000000000
> +0000 +++ xfstests-dev/src/aio-dio-regress/aio-dio-extend-stat.c	2010-01-21 11:28:15.000000000
> +0000 @@ -149,8 +149,9 @@ void fun_read(void *ptr)
>  			if (filestat.st_size < exSize)
>  				fail("write of %lu bytes @%llu finished, "
>  				     "expected filesize at least %llu, but "
> -				     "got %ld\n", event->obj->u.c.nbytes,
> -				     event->obj->u.c.offset, exSize, filestat.st_size);
> +				     "got %lld\n", event->obj->u.c.nbytes,
> +				     event->obj->u.c.offset, exSize,
> +				     (long long)filestat.st_size);
>  		}
>  	}
>  }
> 
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-21 14:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-21 11:34 [PATCH] xfstests: fix format string warnings in aio-dio-extend-stat.c Christoph Hellwig
2010-01-21 14:01 ` Alex Elder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox