mount: print errno on NFS error (again)
This commit is contained in:
@@ -14,6 +14,10 @@ void bb_perror_msg(const char *s, ...)
|
||||
va_list p;
|
||||
|
||||
va_start(p, s);
|
||||
bb_vperror_msg(s, p);
|
||||
/* Guard against "<error message>: Success" */
|
||||
if (!errno)
|
||||
bb_verror_msg(s, p, NULL);
|
||||
else
|
||||
bb_vperror_msg(s, p);
|
||||
va_end(p);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user