build: fix TagName overflow issues
[xfstests-dev.git] / ltp / doio.c
index dcb3efd8c87dbaeae775a3006960da08b537447b..b93771875650559a0896dc624568d8519cc1219c 100644 (file)
@@ -3184,7 +3184,7 @@ char      *opts;
                        break;
 
                case 'N':
-                       sprintf( TagName, "(%.39s)", optarg );
+                       sprintf( TagName, "(%.37s)", optarg );
                        break;
 
                case 'n':