Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-block.git] / ipc / shm.c
index 55e07c980674bff6753ed793361fbbc3a259ab8b..6d767071c3673dce09984933c3a444d78880bd10 100644 (file)
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -1342,25 +1342,27 @@ static int sysvipc_shm_proc_show(struct seq_file *s, void *it)
 #define SIZE_SPEC "%21lu"
 #endif
 
-       return seq_printf(s,
-                         "%10d %10d  %4o " SIZE_SPEC " %5u %5u  "
-                         "%5lu %5u %5u %5u %5u %10lu %10lu %10lu "
-                         SIZE_SPEC " " SIZE_SPEC "\n",
-                         shp->shm_perm.key,
-                         shp->shm_perm.id,
-                         shp->shm_perm.mode,
-                         shp->shm_segsz,
-                         shp->shm_cprid,
-                         shp->shm_lprid,
-                         shp->shm_nattch,
-                         from_kuid_munged(user_ns, shp->shm_perm.uid),
-                         from_kgid_munged(user_ns, shp->shm_perm.gid),
-                         from_kuid_munged(user_ns, shp->shm_perm.cuid),
-                         from_kgid_munged(user_ns, shp->shm_perm.cgid),
-                         shp->shm_atim,
-                         shp->shm_dtim,
-                         shp->shm_ctim,
-                         rss * PAGE_SIZE,
-                         swp * PAGE_SIZE);
+       seq_printf(s,
+                  "%10d %10d  %4o " SIZE_SPEC " %5u %5u  "
+                  "%5lu %5u %5u %5u %5u %10lu %10lu %10lu "
+                  SIZE_SPEC " " SIZE_SPEC "\n",
+                  shp->shm_perm.key,
+                  shp->shm_perm.id,
+                  shp->shm_perm.mode,
+                  shp->shm_segsz,
+                  shp->shm_cprid,
+                  shp->shm_lprid,
+                  shp->shm_nattch,
+                  from_kuid_munged(user_ns, shp->shm_perm.uid),
+                  from_kgid_munged(user_ns, shp->shm_perm.gid),
+                  from_kuid_munged(user_ns, shp->shm_perm.cuid),
+                  from_kgid_munged(user_ns, shp->shm_perm.cgid),
+                  shp->shm_atim,
+                  shp->shm_dtim,
+                  shp->shm_ctim,
+                  rss * PAGE_SIZE,
+                  swp * PAGE_SIZE);
+
+       return 0;
 }
 #endif