Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option.

PR:		bin/164976
Submitted by:	dteske
This commit is contained in:
Devin Teske 2013-03-04 11:34:31 +00:00
parent e51c53f366
commit d2dc532df5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247780

View File

@ -703,8 +703,13 @@ install_zoneinfo_file(const char *zoneinfo_file)
return (DITEM_FAILURE | DITEM_RECREATE);
}
#ifdef VERBOSE
snprintf(title, sizeof(title), "Done");
snprintf(prompt, sizeof(prompt),
"Removed %s", path_localtime);
if (usedialog)
dialog_msgbox(title, prompt, 8, 72, 1);
else
fprintf(stderr, "%s\n", prompt);
#endif
return (DITEM_LEAVE_MENU);
}