]> granicus.if.org Git - sudo/commitdiff
fix typo in mtim_getnsec
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 3 Jan 2008 16:05:04 +0000 (16:05 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 3 Jan 2008 16:05:04 +0000 (16:05 +0000)
config.h.in
configure.in

index eb2d169dcbd4b67386c6cf11eba55eb189518bdb..ac91cc6cbfd1d8f63f9a410b49e7bcd2c217474d 100644 (file)
 #ifdef HAVE_ST_MTIM
 # ifdef HAVE_ST__TIM
 #  define mtim_getsec(_x)      ((_x).st_mtim.st__tim.tv_sec)
-#  define mtim_getnsec(_x)     (((_x).st_mtim.tst__tim.v_nsec / 1000) * 1000)
+#  define mtim_getnsec(_x)     (((_x).st_mtim.st__tim.tv_nsec / 1000) * 1000)
 # else
 #  define mtim_getsec(_x)      ((_x).st_mtim.tv_sec)
 #  define mtim_getnsec(_x)     (((_x).st_mtim.tv_nsec / 1000) * 1000)
index 748eb8d8625f7ea413da53b86e124b1dfcb34078..b97541fa3c59eef2f011b07ebce776d600614f20 100644 (file)
@@ -2519,7 +2519,7 @@ AH_BOTTOM([/*
 #ifdef HAVE_ST_MTIM
 # ifdef HAVE_ST__TIM
 #  define mtim_getsec(_x)      ((_x).st_mtim.st__tim.tv_sec)
-#  define mtim_getnsec(_x)     (((_x).st_mtim.tst__tim.v_nsec / 1000) * 1000)
+#  define mtim_getnsec(_x)     (((_x).st_mtim.st__tim.tv_nsec / 1000) * 1000)
 # else
 #  define mtim_getsec(_x)      ((_x).st_mtim.tv_sec)
 #  define mtim_getnsec(_x)     (((_x).st_mtim.tv_nsec / 1000) * 1000)