diff --git a/src/netbsdout.cc b/src/netbsdout.cc
index db5981e..18b32f8 100644
--- a/src/netbsdout.cc
+++ b/src/netbsdout.cc
@@ -146,7 +146,7 @@ NetBSDOutput::open_audio (int format,
         return false;
     }
 
-    if ((props | AUDIO_PROP_PLAYBACK) != AUDIO_PROP_PLAYBACK) {
+    if ((props & AUDIO_PROP_PLAYBACK) != AUDIO_PROP_PLAYBACK) {
         error = String (str_printf
             ("Device %s does not support playback.",
             (const char *) audio_path));