*
* Copyright (C) 2008 Micah J. Cowan
*
- * Copying and distribution of this file, with or without modification,
+ * Copying and distribution of this file, with or without modification,
* are permitted in any medium without royalty provided the copyright
* notice and this notice are preserved. */
{
val *= 1024 * 1024;
}
-
+
return val;
}
exit (EXIT_FAILURE);
}
+ if (close (fd) < 0)
+ {
+ perror (PROGRAM_NAME ": close");
+ exit (EXIT_FAILURE);
+ }
+
return 0;
}