mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Fix debugging output of '-d', to more accurately reflect if
we exec an external mount program, or just call nmount() to mount a filesystem. Noticed by: kris
This commit is contained in:
parent
4184900911
commit
c195c7f618
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164266
@ -530,7 +530,10 @@ mountfs(const char *vfstype, const char *spec, const char *name, int flags,
|
||||
argv[argc] = NULL;
|
||||
|
||||
if (debug) {
|
||||
(void)printf("exec: mount_%s", vfstype);
|
||||
if (use_mountprog(vfstype))
|
||||
printf("exec: mount_%s", vfstype);
|
||||
else
|
||||
printf("mount -t %s", vfstype);
|
||||
for (i = 1; i < argc; i++)
|
||||
(void)printf(" %s", argv[i]);
|
||||
(void)printf("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user