Browse code

Fix the typo

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>

Kai Qiang Wu(Kennan) authored on 2016/02/16 15:59:56
Showing 1 changed files
... ...
@@ -262,7 +262,7 @@ func (d *Driver) Create(id, parent, mountLabel string) error {
262 262
 			return err
263 263
 		}
264 264
 		if !st.IsDir() {
265
-			return fmt.Errorf("%s: not a direcotory", parentDir)
265
+			return fmt.Errorf("%s: not a directory", parentDir)
266 266
 		}
267 267
 		if err := subvolSnapshot(parentDir, subvolumes, id); err != nil {
268 268
 			return err