diff --git a/checkpkg b/checkpkg
index 00a7d872abb16c5326b432ce27f669af1ae1ad66..1408de4e28e8774e3be1d25cd96d99770b39a3cf 100755
--- a/checkpkg
+++ b/checkpkg
@@ -80,7 +80,7 @@ for _pkgname in ${pkgname[@]}; do
 	sort -o filelist-$_pkgname filelist-$_pkgname
 	sort -o filelist-$_pkgname-old filelist-$_pkgname-old
 
-	diff filelist-$_pkgname-old filelist-$_pkgname
+	diff -u filelist-$_pkgname-old filelist-$_pkgname
 
 	if diff filelist-$_pkgname-old filelist-$_pkgname | grep '\.so\.' > /dev/null 2>&1; then
 		mkdir -p pkg