diff options
| -rw-r--r-- | Documentation/DocBook/kernel-hacking.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DocBook/kernel-hacking.tmpl b/Documentation/DocBook/kernel-hacking.tmpl index 992e67e6be7f..7b3f49363413 100644 --- a/Documentation/DocBook/kernel-hacking.tmpl +++ b/Documentation/DocBook/kernel-hacking.tmpl | |||
| @@ -352,7 +352,7 @@ asmlinkage long sys_mycall(int arg) | |||
| 352 | </para> | 352 | </para> |
| 353 | 353 | ||
| 354 | <programlisting> | 354 | <programlisting> |
| 355 | if (signal_pending()) | 355 | if (signal_pending(current)) |
| 356 | return -ERESTARTSYS; | 356 | return -ERESTARTSYS; |
| 357 | </programlisting> | 357 | </programlisting> |
| 358 | 358 | ||
