VPP-189 Clean up more coverity warnings

Change-Id: I1b971ab326dc334a4743fd7d4184cef106b0523d
Signed-off-by: Dave Barach <dave@barachs.net>
diff --git a/svm/ssvm.c b/svm/ssvm.c
index 5db1423..337840f 100644
--- a/svm/ssvm.c
+++ b/svm/ssvm.c
@@ -43,7 +43,13 @@
       return SSVM_API_ERROR_CREATE_FAILURE;
     }
 
-  lseek (ssvm_fd, ssvm->ssvm_size, SEEK_SET);
+  if (lseek (ssvm_fd, ssvm->ssvm_size, SEEK_SET) < 0)
+    {
+      clib_unix_warning ("lseek");
+      close (ssvm_fd);
+      return SSVM_API_ERROR_SET_SIZE;
+    }
+      
   if (write (ssvm_fd, &junk, 1) != 1)
     {
       clib_unix_warning ("set ssvm size");