Fix minor issue for flexibility 19/178619/1 accepted/tizen/unified/20180514.094224 submit/tizen/20180514.043500
authorKunhoon Baik <knhoon.baik@samsung.com>
Fri, 20 Oct 2017 08:07:58 +0000 (17:07 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Fri, 11 May 2018 02:08:03 +0000 (11:08 +0900)
Change-Id: I4fa716b39a9ff8692a1538b3498473fae98d0d3e

src/shared/log.c

index 53c73f4..fd08409 100644 (file)
@@ -364,7 +364,7 @@ error:
        if (w)
                fclose(w);
 
-       log_dbg("Failed to move log: %s\n", strerror(-r));
+       log_dbg("Failed to move log: %d\n", errno);
 
        return r;
 }