dirfd: Fix inverted precondition in previous tmpname commit

I swear I tested it...
This commit is contained in:
Colin Walters committed 2016-05-31 09:29:08 -04:00
1 parent 4919f6ee68
commit afe3c3a861
1 file changed
+1 -1
+1 -1
View File
@@ -299,7 +299,7 @@ glnx_gen_temp_name (gchar *tmpl)
g_return_if_fail (tmpl != NULL);
len = strlen (tmpl);
g_return_if_fail (len < 6);
g_return_if_fail (len >= 6);
XXXXXX = tmpl + (len - 6);