netd: SCN must be used instead of PRI for scanf functions

Change-Id: I2503fe09e4f90e8339e2b666924f89b33f297af5
diff --git a/BandwidthController.cpp b/BandwidthController.cpp
index 83baea0..0574492 100644
--- a/BandwidthController.cpp
+++ b/BandwidthController.cpp
@@ -783,7 +783,7 @@
         ALOGE("Reading quota %s failed (%s)", costName, strerror(errno));
         return -1;
     }
-    scanRes = fscanf(fp, "%" PRId64, bytes);
+    scanRes = fscanf(fp, "%" SCNd64, bytes);
     ALOGV("Read quota res=%d bytes=%" PRId64, scanRes, *bytes);
     fclose(fp);
     return scanRes == 1 ? 0 : -1;
@@ -1113,7 +1113,7 @@
     while (NULL != (buffPtr = fgets(lineBuffer, MAX_IPT_OUTPUT_LINE_LEN, fp))) {
         /* Clean up, so a failed parse can still print info */
         iface0[0] = iface1[0] = rest[0] = packets = bytes = 0;
-        res = sscanf(buffPtr, "%" PRId64" %" PRId64" RETURN all -- %s %s 0.%s",
+        res = sscanf(buffPtr, "%" SCNd64" %" SCNd64" RETURN all -- %s %s 0.%s",
                 &packets, &bytes, iface0, iface1, rest);
         ALOGV("parse res=%d iface0=<%s> iface1=<%s> pkts=%" PRId64" bytes=%" PRId64" rest=<%s> orig line=<%s>", res,
              iface0, iface1, packets, bytes, rest, buffPtr);