diff options
Diffstat (limited to 'testing/sg_take_snap.c')
-rw-r--r-- | testing/sg_take_snap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/sg_take_snap.c b/testing/sg_take_snap.c index c714a409..a39395c2 100644 --- a/testing/sg_take_snap.c +++ b/testing/sg_take_snap.c @@ -93,7 +93,8 @@ usage(void) int main(int argc, char * argv[]) { bool clear_first = false; - int c, k, sg_fd, res; + int c, k, res; + int sg_fd = -1; int ret = 0; int verbose = 0; const char * device_name = NULL; |