mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option.
PR: bin/164976 Submitted by: dteske
This commit is contained in:
parent
e51c53f366
commit
d2dc532df5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247780
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user