Fixed windows build issue on dibs. 08/281008/1
authorVarinder Pratap <varinder.p@samsung.com>
Wed, 7 Sep 2022 12:56:28 +0000 (18:26 +0530)
committerVarinder Pratap <varinder.p@samsung.com>
Wed, 7 Sep 2022 12:56:28 +0000 (18:26 +0530)
Change-Id: I8909221233592a75cb9cd18f7b9dfd2fadd49474
Signed-off-by: Varinder Pratap <varinder.p@samsung.com>
tizen/src/util/device_hotplug.c

index 95fa101656c05f673fa0b824b9b97e6e5610aca5..1beb60462b3da62405ccf73db4ab16f784852f92 100644 (file)
@@ -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);