diff options
author | ryoon <ryoon> | 2013-10-14 13:41:18 +0000 |
---|---|---|
committer | ryoon <ryoon> | 2013-10-14 13:41:18 +0000 |
commit | 52cc301de4c505b5110af4f7fe74f2e6a2fc2f82 (patch) | |
tree | 0aef0e5bfd11912b35a1dc810c6dd65163ef8b03 /emulators/hercules/patches | |
parent | ecaf477a408ae4d7f23abf83eee86c440a670796 (diff) | |
download | pkgsrc-52cc301de4c505b5110af4f7fe74f2e6a2fc2f82.tar.gz |
Fix non-BSD build
* Fix typo in variable name.
Diffstat (limited to 'emulators/hercules/patches')
-rw-r--r-- | emulators/hercules/patches/patch-tapecopy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/hercules/patches/patch-tapecopy.c b/emulators/hercules/patches/patch-tapecopy.c index 126fc7d7a90..bdb93456c86 100644 --- a/emulators/hercules/patches/patch-tapecopy.c +++ b/emulators/hercules/patches/patch-tapecopy.c @@ -1,4 +1,4 @@ -$NetBSD: patch-tapecopy.c,v 1.1 2011/05/01 23:28:59 ryoon Exp $ +$NetBSD: patch-tapecopy.c,v 1.2 2013/10/14 13:41:18 ryoon Exp $ --- tapecopy.c.orig 2010-01-08 22:56:27.000000000 +0000 +++ tapecopy.c @@ -14,7 +14,7 @@ $NetBSD: patch-tapecopy.c,v 1.1 2011/05/01 23:28:59 ryoon Exp $ +#if (defined(BSD) && BSD >= 199306) + gstat = (mtget->mt_dsreg << 16) | mtget->mt_erreg; +#else -+ gtat = mtget->mt_gstat; ++ gstat = mtget->mt_gstat; +#endif if (1 && EIO == errno |