Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98878
b: refs/heads/master
c: 17d213f
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Linus Torvalds committed Jul 13, 2008
1 parent 9dfb1be commit f047a40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0302c01b4b793cfbc5c7bf8723f6d14bf9bd7cf4
refs/heads/master: 17d213f806dad629e9af36fc45f082b87ed7bceb
4 changes: 2 additions & 2 deletions trunk/security/device_cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static void devcgroup_destroy(struct cgroup_subsys *ss,
#define DEVCG_DENY 2
#define DEVCG_LIST 3

#define MAJMINLEN 10
#define MAJMINLEN 13
#define ACCLEN 4

static void set_access(char *acc, short access)
Expand Down Expand Up @@ -254,7 +254,7 @@ static void set_majmin(char *str, unsigned m)
if (m == ~0)
sprintf(str, "*");
else
snprintf(str, MAJMINLEN, "%d", m);
snprintf(str, MAJMINLEN, "%u", m);
}

static int devcgroup_seq_read(struct cgroup *cgroup, struct cftype *cft,
Expand Down

0 comments on commit f047a40

Please sign in to comment.