Merge branch 'release-2016'
[alexxy/gromacs.git] / src / gromacs / utility / sysinfo.cpp
index 8bcf8b5de0e215b083a7ef6a239770963d5583eb..91fc69cc7764fd55dedb68852090193eb185ef62 100644 (file)
@@ -156,7 +156,7 @@ gmx_ctime_r(const time_t *clock, char *buf, size_t len)
 
 void gmx_format_current_time(char *buf, size_t len)
 {
-    time_t clock = time(NULL);
+    time_t clock = time(nullptr);
     gmx_ctime_r(&clock, buf, len);
 }