Skip to content
Browse files

Fix ticket #1974 fallout.

  • Loading branch information...
1 parent de03e4f commit 03e925874c5d35c26beb4314b45e2fde5f8ec2e5 snj committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 sys/ufs/lfs/lfs_segment.c
View
6 sys/ufs/lfs/lfs_segment.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_segment.c,v 1.213.22.1 2015/11/07 20:31:22 snj Exp $ */
+/* $NetBSD: lfs_segment.c,v 1.213.22.2 2015/11/09 22:50:18 snj Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.213.22.1 2015/11/07 20:31:22 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.213.22.2 2015/11/09 22:50:18 snj Exp $");
#ifdef DEBUG
# define vndebug(vp, str) do { \
@@ -1700,7 +1700,7 @@ lfs_rewind(struct lfs *fs, int newsn)
panic("lfs_rewind: no clean segments");
if (newsn >= 0 && sn >= newsn)
return ENOENT;
- fs->lfs_nextseg = lfs_sntod(fs, sn);
+ fs->lfs_nextseg = sntod(fs, sn);
lfs_newseg(fs);
fs->lfs_offset = fs->lfs_curseg;

0 comments on commit 03e9258

Please sign in to comment.
Something went wrong with that request. Please try again.