Index: chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc |
diff --git a/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc b/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc |
index f1f30f531c947633300566e75aedfb59c81168f0..5ff9bf46fbbef96ee38b1056f7c3e995281fae76 100644 |
--- a/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc |
+++ b/chromeos/dbus/fake_bluetooth_gatt_descriptor_client.cc |
@@ -136,7 +136,7 @@ void FakeBluetoothGattDescriptorClient::WriteValue( |
// Since the only fake descriptor is "Client Characteristic Configuration" |
// and BlueZ doesn't allow writing to it, return failure. |
- error_callback.Run("org.bluez.Error.WriteNotPermitted", |
+ error_callback.Run("org.bluez.Error.NotPermitted", |
"Writing to the Client Characteristic Configuration " |
"descriptor not allowed"); |
} |