Skip to content

Commit

Permalink
Update sdk/java/libjfs/main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingPoeta authored Dec 25, 2024
1 parent dc2ea40 commit bac1e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/java/libjfs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ func jfs_mkdirAll(pid int, h int64, cpath *C.char, mode, umask uint16) int {
if err == 0 && w.ctx.Uid() == 0 && w.user != w.superuser {
// belongs to supergroup
if err := setOwner(w, w.withPid(pid), path, w.user, ""); err != 0 {
logger.Errorf("change owner of %s to %s: %s", path, w.user, err)
logger.Errorf("change owner of %s to %s: %s", path, w.user, err.Error())

Check failure on line 831 in sdk/java/libjfs/main.go

View workflow job for this annotation

GitHub Actions / lint

err.Error undefined (type int has no field or method Error) (typecheck)
}
}
return err
Expand Down

0 comments on commit bac1e64

Please sign in to comment.