Change-Id: I1a089fbf689796f8b13bd680be3558baa48e7a97
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
{
mImpl = new Impl(fileDescriptor, callback, eventBitmask);
- if(fileDescriptor < 1)
+ if(fileDescriptor < 0)
{
DALI_ASSERT_ALWAYS(0 && "Invalid File descriptor");
return;