Last active
December 15, 2015 20:09
-
-
Save arekinath/5316844 to your computer and use it in GitHub Desktop.
make fifoadm datasets import work
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/sniffle/src/sniffle_console_datasets.erl b/apps/sniffle/src/sn | |
index e8a904b..e7880ca 100644 | |
--- a/apps/sniffle/src/sniffle_console_datasets.erl | |
+++ b/apps/sniffle/src/sniffle_console_datasets.erl | |
@@ -27,9 +27,9 @@ read_image(UUID, File, TotalSize, LastDone, Idx) -> | |
case trunc((Done - LastDone) / 0.02) of | |
X when X >= 1 -> | |
io:format(string:copies("=", X)), | |
- read_image(UUID, File, TotalSize, Done, Idx); | |
+ read_image(UUID, File, TotalSize, Done, Idx1); | |
_ -> | |
- read_image(UUID, File, TotalSize, LastDone, Idx) | |
+ read_image(UUID, File, TotalSize, LastDone, Idx1) | |
end | |
end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment