Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/puffs/rump_lfs adapt to new p2k interfaces
details: https://anonhg.NetBSD.org/src/rev/8b54a379d645
branches: trunk
changeset: 748264:8b54a379d645
user: pooka <pooka%NetBSD.org@localhost>
date: Sun Oct 18 19:37:25 2009 +0000
description:
adapt to new p2k interfaces
diffstat:
usr.sbin/puffs/rump_lfs/rump_lfs.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 8aa8ddd31f84 -r 8b54a379d645 usr.sbin/puffs/rump_lfs/rump_lfs.c
--- a/usr.sbin/puffs/rump_lfs/rump_lfs.c Sun Oct 18 19:36:41 2009 +0000
+++ b/usr.sbin/puffs/rump_lfs/rump_lfs.c Sun Oct 18 19:37:25 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_lfs.c,v 1.9 2009/10/14 18:22:50 pooka Exp $ */
+/* $NetBSD: rump_lfs.c,v 1.10 2009/10/18 19:37:25 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@@ -106,9 +106,11 @@
cleaner(canon_dir);
#endif
- p2m = p2k_setup_diskfs(MOUNT_LFS, canon_dev, part, canon_dir, mntflags,
- &args, sizeof(args), 0);
+ p2m = p2k_init(0);
if (!p2m)
+ err(1, "init p2k");
+ if (p2k_setup_diskfs(p2m, MOUNT_LFS, canon_dev, part, canon_dir,
+ mntflags, &args, sizeof(args)) == -1)
err(1, "mount");
#ifndef CLEANER_TESTING
Home |
Main Index |
Thread Index |
Old Index