Skip to content

Commit

Permalink
dfuse.example.simplefs: Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Mar 28, 2021
1 parent 91788e1 commit fc4bc32
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions example/simplefs.d
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
*/
import dfuse.fuse;

import core.stdc.errno;

import std.algorithm, std.conv, std.stdio;

/**
Expand All @@ -32,7 +34,7 @@ class SimpleFS : Operations
return;
}

throw new FuseException(errno.ENOENT);
throw new FuseException(ENOENT);
}

override string[] readdir(const(char)[] path)
Expand All @@ -42,7 +44,7 @@ class SimpleFS : Operations
return ["a", "b"];
}

throw new FuseException(errno.ENOENT);
throw new FuseException(ENOENT);
}
}

Expand Down

0 comments on commit fc4bc32

Please sign in to comment.