Skip to content

Commit

Permalink
raw_syscalls: ensure function always returns value
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Oct 18, 2018
1 parent a542f5a commit e4767d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/raw_syscalls.c
Expand Up @@ -20,8 +20,8 @@ int lxc_raw_execveat(int dirfd, const char *pathname, char *const argv[],
syscall(__NR_execveat, dirfd, pathname, argv, envp, flags);
#else
errno = ENOSYS;
return -1;
#endif
return -1;
}

/*
Expand Down

0 comments on commit e4767d4

Please sign in to comment.