Print this page
10076 make usr/src/test smatch clean

@@ -26,10 +26,13 @@
 
 /*
  * Copyright (c) 2013 by Delphix. All rights reserved.
  */
 
+/*
+ * Copyright (c) 2018, Joyent, Inc.
+ */
 
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <utime.h>
 #include <stdio.h>

@@ -320,11 +323,11 @@
 
                 /*
                  * Sleep 2 seconds, then invoke command on given file
                  */
                 (void) sleep(2);
-                timetest_table[i].func(tfile);
+                (void) timetest_table[i].func(tfile);
 
                 /*
                  * Get time after operating.
                  */
                 ret = get_file_time(tfile, timetest_table[i].type, &t2);