diff --git a/swf2userSessions.py b/swf2userSessions.py
index d22f9a8d69d32f6432eced9b6c200780647ae33d..00fbe1d49c89ca611cc70ab3579553d92582f94a 100755
--- a/swf2userSessions.py
+++ b/swf2userSessions.py
@@ -103,7 +103,7 @@ def check_sanity(job:Job):
         warnings.warn(f"Invalid job: job {job.id} don't have submit <= start <= finish time")
         return False
     if job.walltime < (job.finish_time - job.start_time):
-        warnings.warn(f"Invalid job: job {job.id} runtime < walltime")
+        warnings.warn(f"Invalid job: job {job.id} runtime > walltime")
         return False
     return True