From 74b364787e6922e3947a23bd34c9015f89e749aa Mon Sep 17 00:00:00 2001 From: Varinder Pratap Date: Wed, 7 Sep 2022 18:26:28 +0530 Subject: [PATCH] Fixed windows build issue on dibs. Change-Id: I8909221233592a75cb9cd18f7b9dfd2fadd49474 Signed-off-by: Varinder Pratap --- tizen/src/util/device_hotplug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tizen/src/util/device_hotplug.c b/tizen/src/util/device_hotplug.c index 95fa101656..1beb60462b 100644 --- a/tizen/src/util/device_hotplug.c +++ b/tizen/src/util/device_hotplug.c @@ -118,9 +118,9 @@ static bool do_sdcard_attach(const char * const file) /* refer from test-replication.c */ cmdline = g_strdup_printf("driver=qcow2,node-name=sdcard," -#ifdef CONFIG_WIN32 +#ifndef CONFIG_WIN32 //option available for posix or linux systems - file.locking=off," + "file.locking=off," #endif //CONFIG_WIN32 "file.driver=file,file.filename=%s" , file); -- 2.34.1