mirror of
https://github.com/nmap/nmap.git
synced 2026-08-30 13:42:59 +00:00
Improves error message. Closes #1056
This commit is contained in:
parent
6b655200c6
commit
e66740a16d
1 changed files with 1 additions and 1 deletions
2
nmap.cc
2
nmap.cc
|
|
@ -2338,7 +2338,7 @@ int gather_logfile_resumption_state(char *fname, int *myargc, char ***myargv) {
|
|||
/* We mmap it read/write since we will change the last char to a newline if it is not already */
|
||||
filestr = mmapfile(fname, &filelen, O_RDWR);
|
||||
if (!filestr) {
|
||||
fatal("Could not mmap() %s read/write", fname);
|
||||
fatal("Could not mmap() %s file. Make sure you have enough rights and the file really exists.", fname);
|
||||
}
|
||||
|
||||
if (filelen < 20) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue