summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-11-25 19:36:26 +0000
committerphk <phk@FreeBSD.org>1996-11-25 19:36:26 +0000
commit9c92a6a7289f35ae1753830d07b3d0b5d4f44008 (patch)
treea0f9b6f530314101557f7c4f6246ec60ec2e2eb1 /usr.sbin
parentcab259725303c791048a22bfd0ccbd197a83b999 (diff)
downloadFreeBSD-src-9c92a6a7289f35ae1753830d07b3d0b5d4f44008.zip
FreeBSD-src-9c92a6a7289f35ae1753830d07b3d0b5d4f44008.tar.gz
bin/1974: core dump from amd when phkmalloc is set to AJ.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/amd/amd/afs_ops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/amd/amd/afs_ops.c b/usr.sbin/amd/amd/afs_ops.c
index d10a262..bbb53bc 100644
--- a/usr.sbin/amd/amd/afs_ops.c
+++ b/usr.sbin/amd/amd/afs_ops.c
@@ -37,7 +37,7 @@
*
* @(#)afs_ops.c 8.1 (Berkeley) 6/6/93
*
- * $Id: afs_ops.c,v 1.2 1995/05/30 03:45:43 rgrimes Exp $
+ * $Id: afs_ops.c,v 1.3 1995/06/27 11:07:23 dfr Exp $
*
*/
@@ -1545,8 +1545,8 @@ in_progrss:
return new_mp;
}
- if (error && (cp->mp->am_mnt->mf_ops == &efs_ops))
- cp->mp->am_error = error;
+ if (error && (new_mp->am_mnt->mf_ops == &efs_ops))
+ new_mp->am_error = error;
assign_error_mntfs(new_mp);
OpenPOWER on IntegriCloud