diff options
-rw-r--r-- | Documentation/rtc.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/rtc.txt b/Documentation/rtc.txt index 7c701b88d6d5..c931d613f641 100644 --- a/Documentation/rtc.txt +++ b/Documentation/rtc.txt | |||
@@ -385,7 +385,7 @@ test_PIE: | |||
385 | /* not all RTCs support periodic IRQs */ | 385 | /* not all RTCs support periodic IRQs */ |
386 | if (errno == ENOTTY) { | 386 | if (errno == ENOTTY) { |
387 | fprintf(stderr, "\nNo periodic IRQ support\n"); | 387 | fprintf(stderr, "\nNo periodic IRQ support\n"); |
388 | return 0; | 388 | goto done; |
389 | } | 389 | } |
390 | perror("RTC_IRQP_READ ioctl"); | 390 | perror("RTC_IRQP_READ ioctl"); |
391 | exit(errno); | 391 | exit(errno); |