Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3818
b: refs/heads/master
c: 1a8ceaf
h: refs/heads/master
v: v3
  • Loading branch information
Dominik Brodowski authored and Linus Torvalds committed Jun 28, 2005
1 parent caa8465 commit 9edd875
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: a9a55243d4a5f41b0035d36457b87463aa232807
refs/heads/master: 1a8ceafce5f1e68c28c7ba52fd7e72ab0008eb46
4 changes: 2 additions & 2 deletions trunk/drivers/pcmcia/pcmcia_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -760,9 +760,9 @@ void __init pcmcia_setup_ioctl(void) {

/* Set up character device for user mode clients */
i = register_chrdev(0, "pcmcia", &ds_fops);
if (i == -EBUSY)
if (i < 0)
printk(KERN_NOTICE "unable to find a free device # for "
"Driver Services\n");
"Driver Services (error=%d)\n", i);
else
major_dev = i;

Expand Down

0 comments on commit 9edd875

Please sign in to comment.