Commit 99c5447e authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

More verbosity in illegal name message.

parent cf2d1c3c
......@@ -155,7 +155,7 @@ func (fs *AutoUnionFs) rmFs(name string) (code fuse.Status) {
func (fs *AutoUnionFs) addFs(name string, roots []string) (code fuse.Status) {
if name == _CONFIG || name == _STATUS || name == _SCAN_CONFIG {
log.Println("Illegal name for overlay", roots)
log.Printf("Illegal name %q for overlay: %v", name, roots)
return fuse.EINVAL
}
return fs.createFs(name, roots)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment