btrfs: fix insert_reserved error handling
[linux-2.6-microblaze.git] / tools / hv / hv_fcopy_daemon.c
index d78aed8..8ff8cb1 100644 (file)
@@ -234,6 +234,7 @@ int main(int argc, char *argv[])
                        break;
 
                default:
+                       error = HV_E_FAIL;
                        syslog(LOG_ERR, "Unknown operation: %d",
                                buffer.hdr.operation);