summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/output/alsa.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/output/alsa.cc b/drumgizmo/output/alsa.cc
index 1241cad..f340c30 100644
--- a/drumgizmo/output/alsa.cc
+++ b/drumgizmo/output/alsa.cc
@@ -36,7 +36,7 @@ struct AlsaInitError
const std::string msg;
AlsaInitError(int op_code, const std::string& msg)
- : code{code}
+ : code{op_code}
, msg{msg}
{
}